Class VerticalRuler
Represents the vertical ruler component for the SfDiagramComponent.
Inherited Members
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". |