menu

Blazor

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

    Show / Hide Table of Contents

    Class LinearGaugeLinearGradient

    Defines the linear gradient color settings for the axis in the linear gauge component. This class controls the gradient effects applied to gauge elements, enhancing visual depth.

    Inheritance
    System.Object
    LinearGaugeLinearGradient
    LinearGradient
    Namespace: Syncfusion.Blazor.LinearGauge
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class LinearGaugeLinearGradient : OwningComponentBase

    Constructors

    LinearGaugeLinearGradient()

    Declaration
    public LinearGaugeLinearGradient()

    Properties

    EndValue

    Gets or sets the end value of the linear gradient.

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

    A System.String specifying where the gradient should end. Default is "100%".

    Remarks

    Changing the end value adjusts where the gradient effect concludes on the gauge axis.

    StartValue

    Gets or sets the start value of the linear gradient.

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

    A System.String specifying where the gradient begins. Default is "0%".

    Remarks

    Modifying the start value impacts where the gradient effect commences on the gauge axis.

    Methods

    Dispose(Boolean)

    Disposes the property values during the destroy of the component that is hold up for the execution of the component.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    OnParametersSetAsync()

    OnParametersSetAsync is a lifecycle method that is invoked when the component has received parameters, and the incoming values have been assigned to the properties.

    Declaration
    protected override Task OnParametersSetAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    System.Threading.Tasks.Task representing the asynchronous operation.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved