Class TreeMapLevelColorMapping
Sets and gets the properties on level item color mapping of the treemap component.
Inherited Members
Namespace: Syncfusion.Blazor.TreeMap
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeMapLevelColorMapping : ColorMapping
Constructors
TreeMapLevelColorMapping()
Declaration
public TreeMapLevelColorMapping()
Properties
ChildContent
Sets and gets the content of the UI element.
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.AspNetCore.Components.RenderFragment | A Microsoft.AspNetCore.Components.RenderFragment that represents the child content to be rendered inside the component. |
Remarks
This property allows you to specify custom UI content that will be rendered within the TreeMap level color mapping structure.
LevelValue
Sets and gets the value for the color-mapping from the data source.
Declaration
public string LevelValue { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | A System.String representing the value used in color mapping to identify specific data source values. |
Remarks
This property is used to define the specific data values for which the color mapping is applied in a TreeMap component.
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
Overrides
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. |