Show / Hide Table of Contents

Class Gradient

A BindableObject that represents UnityEngine.Gradient.

Inheritance
Object
BindableObject
Gradient
Implements
INotifyPropertyChanged
IDynamicResourceHandler
IEnumerable
Inherited Members
BindableObject.BindingContextProperty
Xamarin.Forms.BindableObject.add_PropertyChanging(Xamarin.Forms.PropertyChangingEventHandler)
Xamarin.Forms.BindableObject.remove_PropertyChanging(Xamarin.Forms.PropertyChangingEventHandler)
BindableObject.ClearValue(BindableProperty)
BindableObject.ClearValue(BindablePropertyKey)
BindableObject.GetValue(BindableProperty)
BindableObject.GetValues(BindableProperty, BindableProperty)
BindableObject.GetValues(BindableProperty, BindableProperty, BindableProperty)
BindableObject.IsSet(BindableProperty)
BindableObject.RemoveBinding(BindableProperty)
BindableObject.SetBinding(BindableProperty, BindingBase)
BindableObject.SetInheritedBindingContext(BindableObject, Object)
BindableObject.ApplyBindings()
BindableObject.OnBindingContextChanged()
BindableObject.OnPropertyChanged(String)
BindableObject.OnPropertyChanging(String)
BindableObject.UnapplyBindings()
BindableObject.IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)
BindableObject.SetValue(BindableProperty, Object)
BindableObject.SetValue(BindablePropertyKey, Object)
BindableObject.SetValueCore(BindableProperty, Object, SetValueFlags)
BindableObject.CoerceValue(BindableProperty)
BindableObject.CoerceValue(BindablePropertyKey)
BindableObject.Dispatcher
BindableObject.BindingContext
BindableObject.PropertyChanged
BindableObject.PropertyChanging
BindableObject.BindingContextChanged
Namespace: Mux.Markup
Assembly: Mux.Markup.dll
Syntax
public class Gradient : BindableObject, INotifyPropertyChanged, IDynamicResourceHandler, IEnumerable

Constructors

| Improve this Doc View Source

Gradient()

Declaration
public Gradient()

Fields

| Improve this Doc View Source

AlphaKeysProperty

Backing store for AlphaKeys

Declaration
public static readonly BindableProperty AlphaKeysProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

BodyProperty

Backing store for Body

Declaration
public static readonly BindableProperty BodyProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

ColorKeysProperty

Backing store for ColorKeys

Declaration
public static readonly BindableProperty ColorKeysProperty
Field Value
Type Description
BindableProperty
| Improve this Doc View Source

ModeProperty

Backing store for Mode

Declaration
public static readonly BindableProperty ModeProperty
Field Value
Type Description
BindableProperty

Properties

| Improve this Doc View Source

AlphaKeys

A property that represents UnityEngine.Gradient.alphaKeys

Declaration
public IEnumerable<UnityEngine.GradientAlphaKey> AlphaKeys { get; set; }
Property Value
Type Description
IEnumerable<UnityEngine.GradientAlphaKey>
See Also
GradientAlphaKey
| Improve this Doc View Source

Body

A property to get or set the underlaying UnityEngine.Gradient.

Declaration
public UnityEngine.Gradient Body { get; }
Property Value
Type Description
UnityEngine.Gradient
Remarks

UnityEngine.Gradient.alphaKeys and UnityEngine.Gradient.colorKeys must not be changed.

| Improve this Doc View Source

ColorKeys

A property that represents UnityEngine.Gradient.colorKeys

Declaration
public IEnumerable<UnityEngine.GradientColorKey> ColorKeys { get; set; }
Property Value
Type Description
IEnumerable<UnityEngine.GradientColorKey>
See Also
GradientColorKey
| Improve this Doc View Source

Mode

A property that represents UnityEngine.Gradient.mode

Declaration
public UnityEngine.GradientMode Mode { get; set; }
Property Value
Type Description
UnityEngine.GradientMode

Methods

| Improve this Doc View Source

Add(Object)

A method to add UnityEngine.GradientAlphaKey or UnityEngine.GradientColorKey.

Declaration
public void Add(object key)
Parameters
Type Name Description
Object key
Remarks

You can add Node as child elements in XAML thanks to this method.

See Also
GradientAlphaKey
GradientColorKey
| Improve this Doc View Source

GetEnumerator()

Declaration
public IEnumerator GetEnumerator()
Returns
Type Description
IEnumerator

Implements

System.ComponentModel.INotifyPropertyChanged
Xamarin.Forms.Internals.IDynamicResourceHandler
IEnumerable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX