Class MapsLegendTitle
Gets or sets the title in legend.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsLegendTitle : OwningComponentBase
Constructors
MapsLegendTitle()
Declaration
public MapsLegendTitle()
Properties
ChildContent
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.RenderFragment |
Description
Gets or sets the description of the title in maps.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string providing a detailed description for the legend title, with an empty default value. |
Remarks
The description can be used to convey additional information or context about the legend's purpose and relevance within the map.
Text
Gets or sets the text for the title in maps.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the main text of the legend title, with an empty default value. |
Remarks
The text serves as the primary label or header for the legend, indicating its content at a glance.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
Dispose(Boolean)
Disposes the property values during the destroy of the component that is hold up for the execution of the component.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnInitializedAsync()
OnInitializedAsync method is called when the component has received its initial parameters.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |
OnParametersSetAsync()
OnParametersSetAsync is a lifecycle method that is invoked when the component has received parameters, and the incoming values have been assigned to the properties.
Declaration
protected override Task OnParametersSetAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | System.Threading.Tasks.Task representing the asynchronous operation. |