menu

Class RadialGradientEditor - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RadialGradientEditor

    Represents a control to pick a Microsoft.UI.Xaml.Media.RadialGradientBrush using Microsoft.UI.Xaml.Controls.Primitives.ColorSpectrum and GradientStopsEditor.

    Inheritance
    System.Object
    RadialGradientEditor
    Implements
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Editors
    Assembly: Syncfusion.Editors.WinUI.dll
    Syntax
    public class RadialGradientEditor : Control, IDisposable

    Constructors

    RadialGradientEditor()

    Initializes a new instance of the RadialGradientEditor class.

    Declaration
    public RadialGradientEditor()

    Fields

    ActiveStopProperty

    Identifies ActiveStop dependency property.

    Declaration
    public static readonly DependencyProperty ActiveStopProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    AlphaInputOptionsProperty

    Identifies AlphaInputOptions dependency property.

    Declaration
    public static readonly DependencyProperty AlphaInputOptionsProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    AxisInputOptionProperty

    Identifies AxisInputOption dependency property.

    Declaration
    public static readonly DependencyProperty AxisInputOptionProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    ColorEditorsVisibilityModeProperty

    Identifies ColorEditorsVisibilityMode dependency property.

    Declaration
    public static readonly DependencyProperty ColorEditorsVisibilityModeProperty
    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

    ColorSpectrumComponentsProperty

    Identifies ColorSpectrumComponents dependency property.

    Declaration
    public static readonly DependencyProperty ColorSpectrumComponentsProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    ColorSpectrumShapeProperty

    Identifies ColorSpectrumShape dependency property.

    Declaration
    public static readonly DependencyProperty ColorSpectrumShapeProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    Properties

    ActiveStop

    Gets the selected stop to which color can be picked using SolidColorSpectrumEditor.

    Declaration
    public SolidColorInfo ActiveStop { get; }
    Property Value
    Type
    SolidColorInfo

    AlphaInputOptions

    Gets or sets a value that indicates whether the alpha channel can be edited using TextInput, Slider or both.

    Declaration
    public ColorInputOptions AlphaInputOptions { get; set; }
    Property Value
    Type Description
    ColorInputOptions

    A value of enumeration. The default value is All.

    AxisInputOption

    Gets or sets a value that indicates whether the alpha channel can be edited using TextInput, Slider or both.

    Declaration
    public AxisInputOption AxisInputOption { get; set; }
    Property Value
    Type Description
    AxisInputOption

    A value of enumeration. The default value is All.

    ColorInfo

    Gets or sets a wrapper class for Microsoft.UI.Xaml.Media.RadialGradientBrush used for color composition.

    Declaration
    public RadialGradientInfo ColorInfo { get; set; }
    Property Value
    Type
    RadialGradientInfo

    ColorSpectrumComponents

    Gets or sets a value that indicates how the Hue-Saturation-Value (HSV) color components are mapped onto the ColorSpectrum.

    Declaration
    public ColorSpectrumComponents ColorSpectrumComponents { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.Controls.ColorSpectrumComponents

    A value of the enumeration. The default is SaturationValue.

    ColorSpectrumShape

    Gets or sets a value that indicates whether the ColorSpectrum is shown as a square or a circle.

    Declaration
    public ColorSpectrumShape ColorSpectrumShape { get; set; }
    Property Value
    Type Description
    Microsoft.UI.Xaml.Controls.ColorSpectrumShape

    A value of the enumeration. The default is Box, which shows the spectrum as a square.

    Methods

    Dispose()

    Release the unmanaged resources of RadialGradientEditor.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Release the unmanaged resources of RadialGradientEditor.

    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()

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved