menu

Blazor

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

    Show / Hide Table of Contents

    Class VerticalGridLines

    Represents the vertical grid lines configuration for the SfDiagramComponent.

    Inheritance
    System.Object
    DiagramGridLines
    VerticalGridLines
    Inherited Members
    DiagramGridLines.Dispose()
    DiagramGridLines.DotIntervals
    DiagramGridLines.DotIntervalsChanged
    DiagramGridLines.LineColor
    DiagramGridLines.LineColorChanged
    DiagramGridLines.LineDashArray
    DiagramGridLines.LineDashArrayChanged
    DiagramGridLines.LineIntervals
    DiagramGridLines.LineIntervalsChanged
    DiagramGridLines.OnAfterRenderAsync(Boolean)
    DiagramGridLines.SnapIntervals
    DiagramGridLines.SnapIntervalsChanged
    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

    This example demonstrates how to configure vertical grid lines with custom styling.

    <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".

    Overrides
    DiagramGridLines.OnParametersSetAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved