Class VerticalGridLines
Represents the vertical grid lines of the diagram.
Inherited Members
Namespace: Syncfusion.Blazor.Diagram
Assembly: Syncfusion.Blazor.dll
Syntax
public class VerticalGridLines : DiagramGridLines
Remarks
VerticalGridlines provides the visual guidance while dragging or arranging the objects on the diagram surface.
Examples
<SfDiagramComponent Height="600px">
@* Shows vertical grid lines *@
<SnapSettings Constraints = "SnapConstraints.ShowLines" >
@* Customizes the line color and line style to the grid lines*@
<VerticalGridLines LineColor = "blue" LineDashArray="2,2" />
</SnapSettings>
</SfDiagramComponent>
Constructors
VerticalGridLines()
Declaration
public VerticalGridLines()
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". |