Class LabelRenderingEventArgs
Specifies the event argument for label rendering event in maps.
Inherited Members
Namespace: Syncfusion.Blazor.Maps
Assembly: Syncfusion.Blazor.dll
Syntax
public class LabelRenderingEventArgs : MapsBaseEventArgs
Constructors
LabelRenderingEventArgs()
Declaration
public LabelRenderingEventArgs()
Properties
Fill
Gets or sets the color for the label.
Declaration
public string Fill { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string value representing the label's fill color. |
Remarks
Set the fill color to visually highlight or differentiate the label on the map.
LayerIndex
Gets or sets the index of the layer in which the label is rendered.
Declaration
public int LayerIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer value representing the index of the map layer. |
Remarks
Use this index to target or identify the map layer containing the rendered label.
OffsetX
Gets or sets the horizontal offset of the label.
Declaration
public double OffsetX { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value representing the horizontal offset position. |
Remarks
Adjust to position the label horizontally on the map.
OffsetY
Gets or sets the vertical offset of the label.
Declaration
public double OffsetY { get; set; }
Property Value
Type | Description |
---|---|
System.Double | A double value representing the vertical offset position. |
Remarks
Adjust to position the label vertically on the map.
Text
Gets or sets the text for the label.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the content of the label. |
Remarks
Use this property to define or modify the textual content of labels on the map.