Class TreeMapTitleSettings
Sets and gets the title of the treemap component.
Inheritance
Namespace: Syncfusion.Blazor.TreeMap
Assembly: Syncfusion.Blazor.dll
Syntax
public class TreeMapTitleSettings : OwningComponentBase
Constructors
TreeMapTitleSettings()
Declaration
public TreeMapTitleSettings()
Properties
Alignment
Sets and gets the text alignment of the title in the Treemap component.
Declaration
public Alignment Alignment { get; set; }
Property Value
Type | Description |
---|---|
Alignment | An Alignment enumeration indicating the alignment of the title text. The default is Center. |
Remarks
This property controls how the title text is positioned within its designated area in the Treemap.
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 representing the custom content of the Treemap title. |
Remarks
This property allows the addition of custom UI content within the title area of the Treemap component.
Description
Defines the description for the title used for accessibility in the Treemap component.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string providing a description that enhances accessibility, usually for screen readers. |
Remarks
The description can be used to provide additional context about the Treemap title to users relying on assistive technologies.
Text
Sets and gets the text for the title in the Treemap component.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the title text displayed on the Treemap component. |
Remarks
Generally used to display the primary heading or label for the Treemap.
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. |