Class TreeMapLeafColorMapping
Sets and gets the properties on leaf item color mapping of the treemap component.
Inherited Members
Namespace: Syncfusion.Blazor.TreeMap
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeMapLeafColorMapping : ColorMapping
Constructors
TreeMapLeafColorMapping()
Declaration
public TreeMapLeafColorMapping()
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 content to be rendered inside the component. |
Remarks
This property allows you to set custom content for the leaf item of the treemap component.
LeafValue
Sets and gets the value for the color-mapping from the data source.
Declaration
public string LeafValue { get; set; }
Property Value
Type | Description |
---|---|
System.String | A System.String representing the leaf value used in color mapping. |
Remarks
The LeafValue is used to determine the color of the leaf items based on the specified color mapping.
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. |