Class SfGradientStop
Represents the SfGradientStop class.
Inheritance
System.Object
SfGradientStop
Namespace: Syncfusion.XForms.Graphics
Assembly: Syncfusion.Core.XForms.dll
Syntax
public class SfGradientStop : Element
Constructors
SfGradientStop()
Declaration
public SfGradientStop()
Fields
ColorProperty
Gets or sets the gradient color of the gradient stop. This is a bindable property.
Declaration
public static readonly BindableProperty ColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
OffsetProperty
Gets or sets the gradient offset of the gradient stop. This is a bindable property.
Declaration
public static readonly BindableProperty OffsetProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
Color
Gets or sets the color of the gradient stop. This is a bindable property.
Declaration
public Color Color { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
Offset
Gets or sets the offset of the gradient stop. This is a bindable property.
Declaration
public double Offset { get; set; }
Property Value
Type |
---|
System.Double |