Class TreeMapHighlightSettings
Sets and gets the options for customizing the highlight of the treemap item on mouse over of the treemap component item.
Inheritance
Namespace: Syncfusion.Blazor.TreeMap
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeMapHighlightSettings : OwningComponentBase
Constructors
TreeMapHighlightSettings()
Declaration
public TreeMapHighlightSettings()
Properties
ChildContent
Gets or sets 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 representing the child content for the UI element. |
Remarks
This property allows you to define custom templates within the TreeMapHighlightSettings component.
Enable
Gets or sets a value indicating whether the highlight functionality of the treemap component is enabled.
Declaration
public bool Enable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value that enables (true) or disables (false) the highlight functionality. The default value is false. |
Remarks
This property is used to control whether highlighting is active on the TreeMap component.
Fill
Gets or sets the highlight color of the treemap component.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the color used for highlighting. The default value is "#808080". |
Remarks
Use this property to specify a custom color for the highlighted item in the TreeMap component.
Mode
Gets or sets the element in which highlight must be done in the treemap component.
Declaration
public HighLightMode Mode { get; set; }
Property Value
Type | Description |
---|---|
HighLightMode | A HighLightMode value that determines the scope of the highlight (e.g., item, group). |
Remarks
This property specifies the target element level (item or group) for highlighting within the TreeMap.
Opacity
Gets or sets the opacity of the treemap component.
Declaration
public double Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value representing the opacity level. The default value is 0.5. |
Remarks
This property allows adjusting the transparency of the highlighted area in the TreeMap component.
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. |