Class TreeMapLevelColorMapping
Sets and gets the properties on level item color mapping of the treemap component.
Inheritance
Inherited Members
Namespace: Syncfusion.Blazor.TreeMap
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeMapLevelColorMapping : ColorMapping, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
TreeMapLevelColorMapping()
Declaration
public TreeMapLevelColorMapping()
Properties
ChildContent
Sets and gets the content of the UI element.
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
| Type | Description |
|---|---|
| RenderFragment | A 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
[Parameter]
public string LevelValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A 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(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
Overrides
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
Overrides
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 |
|---|---|
| Task | A Task representing the asynchronous operation. |