Class GradientStopsEditor
Represents a control to edit GradientStops in a LinearGradientEditor and RadialGradientEditor.
Inheritance
System.Object
GradientStopsEditor
Implements
System.IDisposable
Namespace: Syncfusion.UI.Xaml.Editors
Assembly: Syncfusion.Editors.WinUI.dll
Syntax
public class GradientStopsEditor : Control, IDisposable
Constructors
GradientStopsEditor()
Initializes a new instance of the GradientStopsEditor class.
Declaration
public GradientStopsEditor()
Fields
ActiveStopProperty
Identifies ActiveStop dependency property.
Declaration
public static readonly DependencyProperty ActiveStopProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
ColorInfoProperty
Identifies ColorInfo dependency property.
Declaration
public static readonly DependencyProperty ColorInfoProperty
Field Value
Type |
---|
Microsoft.UI.Xaml.DependencyProperty |
Properties
ActiveStop
Gets or sets the color of selected Microsoft.UI.Xaml.Media.GradientStop.
Declaration
public SolidColorInfo ActiveStop { get; set; }
Property Value
Type |
---|
SolidColorInfo |
ColorInfo
Gets or sets a wrapper class for SelectedBrush used for color composition.
Declaration
public GradientInfo ColorInfo { get; set; }
Property Value
Type |
---|
GradientInfo |
Methods
Dispose()
Release the unmanaged resources of GradientStopsEditor.
Declaration
public void Dispose()
Dispose(Boolean)
Release the unmanaged resources of GradientStopsEditor.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Used to indicate perform dispose or not. |
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
OnKeyDown(KeyRoutedEventArgs)
Declaration
protected override void OnKeyDown(KeyRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.KeyRoutedEventArgs | e |
OnPointerMoved(PointerRoutedEventArgs)
Declaration
protected override void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e |
OnPointerPressed(PointerRoutedEventArgs)
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e |
OnPointerReleased(PointerRoutedEventArgs)
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.UI.Xaml.Input.PointerRoutedEventArgs | e |
Implements
System.IDisposable