Class Gradient
A BindableObject that represents UnityEngine.Gradient.
Inherited Members
Xamarin.Forms.BindableObject.add_PropertyChanging(Xamarin.Forms.PropertyChangingEventHandler)
Xamarin.Forms.BindableObject.remove_PropertyChanging(Xamarin.Forms.PropertyChangingEventHandler)
Namespace: Mux.Markup
Assembly: Mux.Markup.dll
Syntax
public class Gradient : BindableObject, INotifyPropertyChanged, IDynamicResourceHandler, IEnumerable
Constructors
| Improve this Doc View SourceGradient()
Declaration
public Gradient()
Fields
| Improve this Doc View SourceAlphaKeysProperty
Backing store for AlphaKeys
Declaration
public static readonly BindableProperty AlphaKeysProperty
Field Value
Type | Description |
---|---|
BindableProperty |
BodyProperty
Backing store for Body
Declaration
public static readonly BindableProperty BodyProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ColorKeysProperty
Backing store for ColorKeys
Declaration
public static readonly BindableProperty ColorKeysProperty
Field Value
Type | Description |
---|---|
BindableProperty |
ModeProperty
Backing store for Mode
Declaration
public static readonly BindableProperty ModeProperty
Field Value
Type | Description |
---|---|
BindableProperty |
Properties
| Improve this Doc View SourceAlphaKeys
A property that represents UnityEngine.Gradient.alphaKeys
Declaration
public IEnumerable<UnityEngine.GradientAlphaKey> AlphaKeys { get; set; }
Property Value
Type | Description |
---|---|
IEnumerable<UnityEngine.GradientAlphaKey> |
See Also
| Improve this Doc View SourceBody
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.
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
| Improve this Doc View SourceMode
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 SourceAdd(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
| Improve this Doc View SourceGetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator |
Implements
IEnumerable