Class TreeMapLevel
Sets and gets the options for customizing the levels of the treemap component.
Inheritance
Namespace: Syncfusion.Blazor.TreeMap
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeMapLevel : OwningComponentBase
Constructors
TreeMapLevel()
Declaration
public TreeMapLevel()
Properties
AutoFill
Enables or disables the automatic filling of the colors in the items in the treemap component.
Declaration
public bool AutoFill { get; set; }
Property Value
Type |
---|
System.Boolean |
ChildContent
Sets and gets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Fill
Sets and gets the fill color of the level in the treemap component.
Declaration
public string Fill { get; set; }
Property Value
Type |
---|
System.String |
GroupGap
Sets and gets the gap between the levels in the treemap component.
Declaration
public double GroupGap { get; set; }
Property Value
Type |
---|
System.Double |
GroupPadding
Sets and gets the padding of levels in the treemap component.
Declaration
public double GroupPadding { get; set; }
Property Value
Type |
---|
System.Double |
GroupPath
Sets and gets the value path from the data source in the treemap component to render the item.
Declaration
public string GroupPath { get; set; }
Property Value
Type |
---|
System.String |
HeaderAlignment
Sets and gets the alignment of the header of the treemap component.
Declaration
public Alignment HeaderAlignment { get; set; }
Property Value
Type |
---|
Alignment |
HeaderFormat
Sets and gets the format of header of the levels in the treemap component.
Declaration
public string HeaderFormat { get; set; }
Property Value
Type |
---|
System.String |
HeaderHeight
Sets and gets the height of header in the treemap component.
Declaration
public double HeaderHeight { get; set; }
Property Value
Type |
---|
System.Double |
HeaderTemplate
Sets and gets the template for header in the treemap component.
Declaration
public RenderFragment<object> HeaderTemplate { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment<System.Object> |
Opacity
Sets and gets the opacity in the treemap component.
Declaration
public double Opacity { get; set; }
Property Value
Type |
---|
System.Double |
ShowHeader
Shows or hides the header in level of the treemap component.
Declaration
public bool ShowHeader { get; set; }
Property Value
Type |
---|
System.Boolean |
TemplatePosition
Sets and gets the options for customizing the template position of the treemap component.
Declaration
public LabelPosition TemplatePosition { get; set; }
Property Value
Type |
---|
LabelPosition |
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
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. |