Class GradientInfo
Represents the class for gradient brush composition.
Inheritance
System.Object
GradientInfo
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.UI.Xaml.Editors
Assembly: Syncfusion.Editors.WinUI.dll
Syntax
public abstract class GradientInfo : ColorInfo, INotifyPropertyChanged
Constructors
GradientInfo(Brush)
Initializes a new instance of the GradientInfo class.
Declaration
protected GradientInfo(Brush brush)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Media.Brush | brush | Brush value to be manipulated. |
Properties
GradientStops
Gets the model to edit the GradientStops of a Microsoft.UI.Xaml.Media.LinearGradientBrush or Microsoft.UI.Xaml.Media.RadialGradientBrush.
Declaration
public abstract ObservableCollection<GradientStopInfo> GradientStops { get; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<GradientStopInfo> |
SelectedStop
Gets or sets the selected stop that is being edited.
Declaration
public abstract GradientStopInfo SelectedStop { get; set; }
Property Value
Type |
---|
GradientStopInfo |
Implements
System.ComponentModel.INotifyPropertyChanged