menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartGradientStop - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartGradientStop

    ChartGradientStop contains gradient color and gradient offset to configure the color and offset position of each color.

    Inheritance
    System.Object
    ChartGradientStop
    Namespace: Syncfusion.SfChart.XForms
    Assembly: Syncfusion.SfChart.XForms.dll
    Syntax
    public class ChartGradientStop : Element, IThemeElement
    Remarks

    The Color and Offset properties of the ChartGradientStop is used to configure the color and offset position of each color.

    Constructors

    ChartGradientStop()

    Initializes a new instance of the ChartGradientStop class.

    Declaration
    public ChartGradientStop()

    Fields

    ColorProperty

    Gets or sets the gradient color of the gradient stop. This is a bindable property.

    Declaration
    public static readonly BindableProperty ColorProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    OffsetProperty

    Gets or sets the gradient offset of the gradient stop. This is a bindable property.

    Declaration
    public static readonly BindableProperty OffsetProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    Color

    Gets or sets the color of the gradient stop. This is a bindable property.

    Declaration
    public Color Color { get; set; }
    Property Value
    Type
    Xamarin.Forms.Color

    Offset

    Gets or sets the offset of the gradient stop. This is a bindable property.

    Declaration
    public float Offset { get; set; }
    Property Value
    Type
    System.Single
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved