Blazor

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridType

    Show / Hide Table of Contents

    Class GridType

    It allows the user to define the type of the grid as either lines or dots.

    Inheritance
    System.Object
    GridType
    Namespace: Syncfusion.Blazor.Diagrams
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public sealed class GridType : Enum
    Remarks
    The below code snippet is an example to set GridType to Dots.
    Examples
    <SfDiagram>
       <DiagramSnapSettings GridType = "GridType.Dots" >
           < HorizontalGridlines LineColor="red" />
           <VerticalGridlines LineColor = "red" />
       </ DiagramSnapSettings >
    </SfDiagram>

    Fields

    Dots

    Renders grid patterns as lines.

    Declaration
    public const GridType Dots
    Field Value
    Type Description
    GridType

    Lines

    Renders grid patterns as dots.

    Declaration
    public const GridType Lines
    Field Value
    Type Description
    GridType

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved