menu

Blazor

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

    Show / Hide Table of Contents

    Class HorizontalRuler

    Defines the appearance of Horizontal ruler.

    Inheritance
    System.Object
    DiagramRuler
    HorizontalRuler
    Inherited Members
    DiagramRuler.Interval
    DiagramRuler.IntervalChanged
    DiagramRuler.IsVisible
    DiagramRuler.IsVisibleChanged
    DiagramRuler.MarkerColor
    DiagramRuler.MarkerColorChanged
    DiagramRuler.OnAfterRenderAsync(Boolean)
    DiagramRuler.TickAlignment
    DiagramRuler.TickAlignmentChanged
    Namespace: Syncfusion.Blazor.Diagram
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class HorizontalRuler : DiagramRuler
    Remarks

    It customizes the appearance of horizontal ruler displayed using RulerSettings.

    Examples
        <SfDiagramComponent Height = "600px">
            <RulerSettings>
                <HorizontalRuler Interval="7" MarkerColor="red" TickAlignment="TickAlignment.RightAndBottom">
                </HorizontalRuler>
            </RulerSettings>
        </SfDiagramComponent>

    Constructors

    HorizontalRuler()

    Declaration
    public HorizontalRuler()

    Methods

    OnInitializedAsync()

    Method invoked when the component is ready to start.

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

    A System.Threading.Tasks.Task representing any asynchronous operation.

    OnParametersSetAsync()

    Method invoked when any changes in component state occurs.

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

    ="Task".

    Overrides
    DiagramRuler.OnParametersSetAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved