Class VerticalGridlines
Customizes the vertical gridlines as per the user’s preference in the diagram.
Inheritance
System.Object
Syncfusion.Blazor.Diagrams.Internal.SfDiagramBaseExtension
VerticalGridlines
Inherited Members
Namespace: Syncfusion.Blazor.Diagrams
Assembly: Syncfusion.Blazor.dll
Syntax
public class VerticalGridlines : DiagramsGridLines, IBaseInit
Remarks
The VerticalGridlines should be set in DiagramSnapSettings. |
Examples
<SfDiagram>
<DiagramSnapSettings>
//Shows vertical gridlines
<VerticalGridlines LineColor = "blue" LineDashArray="2,2">
</VerticalGridlines>
</DiagramSnapSettings>
</SfDiagram>
Constructors
VerticalGridlines()
Declaration
public VerticalGridlines()
Properties
ChildContent
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
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.Diagrams.Internal.SfDiagramBaseExtension.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 |