Class MapsSubtitleTextStyle
Sets and gets the options to customize the style of the text in subtitle in maps control.
Inherited Members
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsSubtitleTextStyle : MapsFontSettings
Constructors
MapsSubtitleTextStyle()
Declaration
public MapsSubtitleTextStyle()
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 that represents the content of the UI element for subtitle text styling. |
Remarks
This property allows additional content to be rendered within the subtitle text styling context.
Size
Gets or sets the font size for the subtitle.
Declaration
public override string Size { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string specifying the font size of the subtitle, with a default of "12px". |
Overrides
Remarks
This property sets the font size of the subtitle text.
Methods
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 |
Overrides
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. |