Class TreeMapMargin
Sets and gets the options for customizing the bottom, left, right, top margin of the treemap component.
Inheritance
Namespace: Syncfusion.Blazor.TreeMap
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeMapMargin : OwningComponentBase
Remarks
This class provides properties to set the bottom, left, right, and top margins of the Syncfusion.Blazor.TreeMap component.
Constructors
TreeMapMargin()
Declaration
public TreeMapMargin()
Properties
Bottom
Gets or sets the bottom margin for the Syncfusion.Blazor.TreeMap component.
Declaration
public double Bottom { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double representing the bottom margin. The default value is 10.0. |
Remarks
Adjust this property to set the distance from the component's bottom edge to its content.
Left
Gets or sets the left margin for the Syncfusion.Blazor.TreeMap component.
Declaration
public double Left { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double representing the left margin. The default value is 10.0. |
Remarks
Adjust this property to set the distance from the component's left edge to its content.
Right
Gets or sets the right margin for the Syncfusion.Blazor.TreeMap component.
Declaration
public double Right { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double representing the right margin. The default value is 10.0. |
Remarks
Adjust this property to set the distance from the component's right edge to its content.
Top
Gets or sets the top margin for the Syncfusion.Blazor.TreeMap component.
Declaration
public double Top { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double representing the top margin. The default value is 10.0. |
Remarks
Adjust this property to set the distance from the component's top edge to its content.
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
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 the asynchronous operation. |
OnParametersSetAsync()
Method invoked when the component has received parameters from its parent in the render tree and the incoming values have been assigned to properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |