menu

Blazor

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

    Show / Hide Table of Contents

    Class VerticalRuler

    Represents the vertical ruler component for the SfDiagramComponent.

    Inheritance
    System.Object
    DiagramRuler
    VerticalRuler
    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 VerticalRuler : DiagramRuler
    Remarks

    It customizes the appearance of vertical ruler displayed using RulerSettings.

    The vertical ruler provides visual measurement guides along the left or right edge of the diagram canvas.

    Examples

    The following example demonstrates how to configure a vertical ruler with custom settings:

        <SfDiagramComponent Height = "600px">
            <RulerSettings>
                <VerticalRuler Interval="7" MarkerColor="blue" TickAlignment="TickAlignment.RightAndBottom">
                </VerticalRuler>
            </RulerSettings>
        </SfDiagramComponent>

    Constructors

    VerticalRuler()

    Declaration
    public VerticalRuler()

    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