Class MapsSubtitleSettings
Sets and gets the subtitle to be displayed for maps.
Inheritance
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsSubtitleSettings : OwningComponentBase
Constructors
MapsSubtitleSettings()
Declaration
public MapsSubtitleSettings()
Properties
Alignment
Gets or sets the alignment of the subtitle for maps.
Declaration
public Alignment Alignment { get; set; }
Property Value
Type | Description |
---|---|
Alignment | An Alignment enumeration value that specifies the alignment of the subtitle text. The default is Center. |
Remarks
This property determines the positioning of the subtitle text relative to the map.
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 that represents the content of the UI element for the maps subtitle. |
Remarks
Use this property to define custom content within the subtitle settings.
Description
Gets or sets the description of the subtitle in maps.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the detailed description behind the subtitle. |
Remarks
This property is useful for accessibility purposes or when additional information about the subtitle is needed.
Text
Gets or sets the text for the subtitle in maps.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string specifying the text content of the subtitle. |
Remarks
This is the main content of the subtitle that appears below the map title.
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. |