Blazor

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

    Show / Hide Table of Contents

    Class VerticalRuler

    Defines the appearance and properties of the vertical ruler. The Vertical Ruler appearance can be customized according to the user’s perception.

    Inheritance
    System.Object
    SfBaseComponent
    Syncfusion.Blazor.Diagrams.Internal.SfDiagramBaseExtension
    DiagramsRuler
    VerticalRuler
    Inherited Members
    DiagramsRuler.OnParametersSetAsync()
    DiagramsRuler.mainParent
    DiagramsRuler.Interval
    DiagramsRuler.MarkerColor
    DiagramsRuler.Orientation
    DiagramsRuler.SegmentWidth
    DiagramsRuler.Thickness
    DiagramsRuler.TickAlignment
    SfBaseComponent.OnAfterRenderAsync(Boolean)
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class VerticalRuler : DiagramsRuler, IBaseInit
    Remarks
    Examples
    <SfDiagram>
       //Set the VerticalRuler in DiagramRulerSettings
       <DiagramRulerSettings VerticalRuler = "@VerticalRulers" ></ DiagramRulerSettings >
    </ SfDiagram >
    @code
    {
       VerticalRuler VerticalRulers = new VerticalRuler()
       {
           MarkerColor = "red",
           Orientation = RulerOrientation.Horizontal,
           TickAlignment = TickAlignment.LeftOrTop
       };
    }

    Constructors

    VerticalRuler()

    Declaration
    public VerticalRuler()

    Properties

    ChildContent

    Declaration
    public RenderFragment ChildContent { get; set; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Components.RenderFragment

    jsProperty

    Declaration
    protected override string jsProperty { get; set; }
    Property Value
    Type Description
    System.String
    Overrides
    DiagramsRuler.jsProperty

    Methods

    BuildRenderTree(RenderTreeBuilder)

    Declaration
    protected override void BuildRenderTree(RenderTreeBuilder __builder)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder

    Dispose()

    Declaration
    public override void Dispose()
    Overrides
    Syncfusion.Blazor.Diagrams.Internal.SfDiagramBaseExtension.Dispose()

    GetJSNamespace()

    Declaration
    public string GetJSNamespace()
    Returns
    Type Description
    System.String

    Get the parent namespaces

    OnInitializedAsync()

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

    Returns asynchronous operation when the component is ready to start, having received its initial parameters from its parent in the render tree

    Overrides
    DiagramsRuler.OnInitializedAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved