Class HorizontalRuler
Defines the appearance of Horizontal ruler.
Inherited Members
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". |