Class ProgressGradientStop
Represents ProgressGradientStop class.
Inheritance
System.Object
    ProgressGradientStop
  Namespace: Syncfusion.Maui.Toolkit.ProgressBar
Assembly: Syncfusion.Maui.Toolkit.dll
Syntax
public class ProgressGradientStop : Element, IThemeElement
  Examples
Snippet for SfLinearProgressBar
<progressBar:SfLinearProgressBar Progress="75">
    <progressBar:SfLinearProgressBar.GradientStops>
           <progressBar:ProgressGradientStop Color="Yellow" Value="30"/>
           <progressBar:ProgressGradientStop Color="Green" Value="60"/>
    </progressBar:SfLinearProgressBar.GradientStops>
</progressBar:SfLinearProgressBar>
Snippet for SfCircularProgressBar
<progressBar:SfCircularProgressBar Progress="75">
    <progressBar:SfCircularProgressBar.GradientStops>
           <progressBar:ProgressGradientStop Color="Yellow" Value="30"/>
           <progressBar:ProgressGradientStop Color="Green" Value="60"/>
    </progressBar:SfCircularProgressBar.GradientStops>                              
</progressBar:SfCircularProgressBar>
Constructors
ProgressGradientStop()
Initializes a new instance of the ProgressGradientStop class.
Declaration
public ProgressGradientStop()
  Fields
ColorProperty
Identifies the Color bindable property.
Declaration
public static readonly BindableProperty ColorProperty
  Field Value
| Type | Description | 
|---|---|
| Microsoft.Maui.Controls.BindableProperty | The identifier for Color bindable property.  | 
      
ValueProperty
Identifies the Value bindable property.
Declaration
public static readonly BindableProperty ValueProperty
  Field Value
| Type | Description | 
|---|---|
| Microsoft.Maui.Controls.BindableProperty | The identifier for Value bindable property.  | 
      
Properties
Color
Gets or sets the color that describes the gradient color value.
Declaration
public Color Color { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Microsoft.Maui.Graphics.Color | The default color is   | 
      
Examples
Snippet for SfLinearProgressBar
<progressBar:SfLinearProgressBar Progress="75">
    <progressBar:SfLinearProgressBar.GradientStops>
           <progressBar:ProgressGradientStop Color="Yellow" Value="30"/>
           <progressBar:ProgressGradientStop Color="Green" Value="60"/>
    </progressBar:SfLinearProgressBar.GradientStops>
</progressBar:SfLinearProgressBar>
Snippet for SfCircularProgressBar
<progressBar:SfCircularProgressBar Progress="75">
    <progressBar:SfCircularProgressBar.GradientStops>
           <progressBar:ProgressGradientStop Color="Yellow" Value="30"/>
           <progressBar:ProgressGradientStop Color="Green" Value="60"/>
    </progressBar:SfCircularProgressBar.GradientStops>                              
</progressBar:SfCircularProgressBar>
Value
Gets or sets the value that describes the gradient value.
Declaration
public double Value { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Double | The default value is   | 
      
Examples
Snippet for SfLinearProgressBar
<progressBar:SfLinearProgressBar Progress="75">
    <progressBar:SfLinearProgressBar.GradientStops>
           <progressBar:ProgressGradientStop Color="Yellow" Value="30"/>
           <progressBar:ProgressGradientStop Color="Green" Value="60"/>
    </progressBar:SfLinearProgressBar.GradientStops>
</progressBar:SfLinearProgressBar>
Snippet for SfCircularProgressBar
<progressBar:SfCircularProgressBar Progress="75">
    <progressBar:SfCircularProgressBar.GradientStops>
           <progressBar:ProgressGradientStop Color="Yellow" Value="30"/>
           <progressBar:ProgressGradientStop Color="Green" Value="60"/>
    </progressBar:SfCircularProgressBar.GradientStops>                              
</progressBar:SfCircularProgressBar>