menu

WinUI

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GradientInfo - API Reference

    Show / Hide Table of Contents

    Class GradientInfo

    Represents the class for gradient brush composition.

    Inheritance
    System.Object
    NotificationObject
    ColorInfo
    GradientInfo
    LinearGradientInfo
    RadialGradientInfo
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    ColorInfo.Brush
    NotificationObject.RaisePropertyChanged(String)
    NotificationObject.RaisePropertyChanged(String[])
    NotificationObject.PropertyChanged
    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 Description
    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 Description
    GradientStopInfo

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved