Class GradientStopThumb

    Show / Hide Table of Contents

    Class GradientStopThumb

    Represents a control to edit individual stops of Microsoft.UI.Xaml.Media.GradientStop using GradientStopsEditor.

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

    Constructors

    GradientStopThumb()

    Initializes a new instance of the GradientStopThumb class.

    Declaration
    public GradientStopThumb()

    Fields

    ColorProperty

    Identifies Color dependency property.

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

    IsSelectedProperty

    Identifies IsSelected dependency property.

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

    OffsetProperty

    Identifies Offset dependency property.

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

    Properties

    Color

    Gets or sets the color of Microsoft.UI.Xaml.Media.GradientStop.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    Windows.UI.Color

    IsSelected

    Gets or sets a value indicating whether Microsoft.UI.Xaml.Media.GradientStop is selected or not.

    Declaration
    public bool IsSelected { get; set; }
    Property Value
    Type Description
    System.Boolean

    Offset

    Gets or sets the position of Microsoft.UI.Xaml.Media.GradientStop.

    Declaration
    public double Offset { get; set; }
    Property Value
    Type Description
    System.Double

    Methods

    Dispose()

    Release the unmanaged resources of GradientStopThumb.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Release the unmanaged resources of GradientStopThumb.

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

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved