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 |