Class SfGradientBrush
Represents the SfGradientBrush class.
Namespace: Syncfusion.XForms.Graphics
Assembly: Syncfusion.Core.XForms.dll
Syntax
public abstract class SfGradientBrush : Element
Constructors
SfGradientBrush()
Declaration
protected SfGradientBrush()
Fields
GradientStopsProperty
Gets or sets the gradient stops of the gradient values. This is a bindable property.
Declaration
public static readonly BindableProperty GradientStopsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
GradientStops
Gets or sets the color and offset of a transistion point in a gradient.This is a bindable property.
Declaration
public GradientStopCollection GradientStops { get; set; }
Property Value
Type |
---|
GradientStopCollection |
Methods
OnBindingContextChanged()
Invoked whenever the binding context of the element changes.
Declaration
protected override void OnBindingContextChanged()