Class MapLabelStyle
The MapLabelStyle represents the style of data label, that used to customize text color, size, font family and font attribute.
Inheritance
System.Object
MapLabelStyle
Namespace: Syncfusion.Maui.Maps
Assembly: Syncfusion.Maui.Maps.dll
Syntax
public class MapLabelStyle : BindableObject, ITextElement
Constructors
MapLabelStyle()
Declaration
public MapLabelStyle()
Fields
FontAttributesProperty
Identifies the FontAttributes bindable property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for FontAttributes bindable property. |
FontFamilyProperty
Identifies the FontFamily bindable property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for FontFamily bindable property. |
FontSizeProperty
Identifies the FontSize bindable property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for FontSize bindable property. |
TextColorProperty
Identifies the TextColor bindable property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for TextColor bindable property. |
Properties
FontAttributes
Gets or sets font attributes of map label text.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Controls.FontAttributes |
FontFamily
Gets or sets string, that represents font family of map label text.
Declaration
public string FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FontSize
Gets or sets double value that represents size of map label text.
Declaration
public double FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TextColor
Gets or sets color, that represents the map label text color.
Declaration
public Color TextColor { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color |