Class MapsLayerDataLabelTextStyle
Sets and gets the options to customize the style of the text in data labels in maps component.
Inherited Members
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class MapsLayerDataLabelTextStyle : MapsFontSettings
Constructors
MapsLayerDataLabelTextStyle()
Declaration
public MapsLayerDataLabelTextStyle()
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 |
Size
Gets or sets the size of the text for the data label.
Declaration
public override string Size { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
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. |
Overrides
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. |