Class GradientStopInfo
Represents a model class, used to edit a Microsoft.UI.Xaml.Media.GradientStop in a Microsoft.UI.Xaml.Media.GradientBrush.GradientStops or Microsoft.UI.Xaml.Media.RadialGradientBrush.GradientStops.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.UI.Xaml.Editors
Assembly: Syncfusion.Editors.WinUI.dll
Syntax
public class GradientStopInfo : NotificationObject, INotifyPropertyChanged
Constructors
GradientStopInfo(GradientStop)
Initializes a new instance of the GradientStopInfo class.
Declaration
public GradientStopInfo(GradientStop gradientstop)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Media.GradientStop | gradientstop | gradient stop to be manipulated. |
Properties
Color
Gets or sets the color of the gradient stop.
Declaration
public RGBColor Color { get; set; }
Property Value
Type | Description |
---|---|
RGBColor | The color of the gradient stop. The default is Transparent. |
IsSelected
Gets or sets a value indicating whether the GradientStop is selected or not.
Declaration
public bool IsSelected { get; set; }
Property Value
Type |
---|
System.Boolean |
Offset
Gets or sets the location of the gradient stop within the gradient vector.
Declaration
public double Offset { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The relative location of this gradient stop along the gradient vector. The default is 0. |
Implements
System.ComponentModel.INotifyPropertyChanged