Blazor

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

    Show / Hide Table of Contents

    Class HorizontalGridlines

    Customizes the horizontal gridlines as per the user’s preference in the diagram.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    Syncfusion.Blazor.SfBaseExtension
    DiagramsGridLines
    HorizontalGridlines
    Inherited Members
    DiagramsGridLines.OnParametersSetAsync()
    DiagramsGridLines.mainParent
    DiagramsGridLines.DotIntervals
    DiagramsGridLines.LineColor
    DiagramsGridLines.LineDashArray
    DiagramsGridLines.LineIntervals
    DiagramsGridLines.SnapIntervals
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class HorizontalGridlines : DiagramsGridLines
    Remarks
    Horizontal Gridlines provides visual guidance while dragging or arranging the objects on the diagram surface.
    Examples
    <SfDiagram>
       <DiagramSnapSettings>
           //Shows horizontal gridlines
           <HorizontalGridlines LineColor = "blue" LineDashArray="2,2">
           </HorizontalGridlines>
       </DiagramSnapSettings>
    </SfDiagram>

    Constructors

    HorizontalGridlines()

    Declaration
    public HorizontalGridlines()

    Properties

    ChildContent

    Represents a segment of UI content, implemented.

    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
    DiagramsGridLines.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.SfBaseExtension.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
    DiagramsGridLines.OnInitializedAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved