alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class GradientPosition

    Represents the circle positions for defining the radial gradient in a linear gauge component.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    GradientPosition
    InnerPosition
    OuterPosition
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnInitializedAsync()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.LinearGauge
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GradientPosition : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
    Remarks

    The GradientPosition class is used to specify the X and Y coordinates of a radial gradient's center point within the linear gauge. This is crucial for accurately rendering the radial gradient in the correct position.

    Constructors

    GradientPosition()

    Declaration
    public GradientPosition()

    Properties

    X

    Gets or sets the horizontal position in percentage.

    Declaration
    [Parameter]
    public string X { get; set; }
    Property Value
    Type Description
    string

    A string representing the X-coordinate of the gradient's starting point. The default value is "0%".

    Remarks

    This value determines the horizontal positioning of the center point of the radial gradient within its bounding element.

    Y

    Gets or sets the vertical position in percentage.

    Declaration
    [Parameter]
    public string Y { get; set; }
    Property Value
    Type Description
    string

    A string representing the Y-coordinate of the gradient's starting point. The default value is "0%".

    Remarks

    This value determines the vertical positioning of the center point of the radial gradient within its bounding element.

    Methods

    Dispose(bool)

    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
    bool disposing
    Overrides
    OwningComponentBase.Dispose(bool)

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved