Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColorStop - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ColorStop

    Defines the color range properties for the gradient.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    ColorStop
    Namespace: Syncfusion.Blazor.LinearGauge
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ColorStop : SfBaseComponent

    Constructors

    ColorStop()

    Declaration
    public ColorStop()

    Properties

    Color

    Defines the color to be used in the gradient.

    Declaration
    public string Color { get; set; }
    Property Value
    Type Description
    System.String

    Offset

    Defines the gradient color begin and end in percentage

    Declaration
    public string Offset { get; set; }
    Property Value
    Type Description
    System.String

    Opacity

    Defines the opacity to be used in the gradient.

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

    Style

    Defines the style of the color stop in the gradient element.

    Declaration
    public string Style { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    OnInitializedAsync()

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    Syncfusion.Blazor.SfBaseComponent.OnInitializedAsync()

    OnParametersSetAsync()

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved