Class TreeMapLeafItemSettings
Sets and gets the options for customizing the leaf item of the treemap component.
Inheritance
Namespace: Syncfusion.Blazor.TreeMap
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeMapLeafItemSettings : OwningComponentBase
Constructors
TreeMapLeafItemSettings()
Declaration
public TreeMapLeafItemSettings()
Properties
AutoFill
Enables or disables automatic filling of colors in leaf items of 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 leaf items in the treemap component.
Declaration
public string Fill { get; set; }
Property Value
Type |
---|
System.String |
Gap
Sets and gets the gap between the leaf item in the treemap component.
Declaration
public double Gap { get; set; }
Property Value
Type |
---|
System.Double |
InterSectAction
Sets and gets the label intersect action of leaf item in the treemap component.
Declaration
public LabelAlignment InterSectAction { get; set; }
Property Value
Type |
---|
LabelAlignment |
LabelFormat
Sets and gets the label text format of leaf item in the treemap component.
Declaration
public string LabelFormat { get; set; }
Property Value
Type |
---|
System.String |
LabelPath
Sets and gets the value path from the data source for label of leaf item in the treemap component.
Declaration
public string LabelPath { get; set; }
Property Value
Type |
---|
System.String |
LabelPosition
Sets and gets the position of the labels in the treemap component.
Declaration
public LabelPosition LabelPosition { get; set; }
Property Value
Type |
---|
LabelPosition |
LabelTemplate
Sets and gets the label template of leaf item in the treemap component.
Declaration
public RenderFragment<object> LabelTemplate { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment<System.Object> |
Opacity
Sets and gets the opacity of leaf item in the treemap component.
Declaration
public double Opacity { get; set; }
Property Value
Type |
---|
System.Double |
Padding
Sets and gets the padding of leaf item in the treemap component.
Declaration
public double Padding { get; set; }
Property Value
Type |
---|
System.Double |
ShowLabels
Shows or hides the labels in the treemap component.
Declaration
public bool ShowLabels { get; set; }
Property Value
Type |
---|
System.Boolean |
TemplatePosition
Sets and gets the position of the template of leaf item in 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. |