menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GradientStopInfo - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    NotificationObject
    GradientStopInfo
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    NotificationObject.PropertyChanged
    NotificationObject.RaisePropertyChanged(String)
    NotificationObject.RaisePropertyChanged(String[])
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved