MapPointer.TextAlignment Property
Gets or sets the alignment of the text in a map pointer.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v24.2.dll
Declaration
[DefaultValue(TextAlignment.MiddleRight)]
public TextAlignment TextAlignment { get; set; }
Property Value
Type | Default | Description |
---|---|---|
TextAlignment | MiddleRight | One of the TextAlignment enumeration values that specifies how the text is aligned in the map pointer. |
Available values:
Name | Description |
---|---|
TopLeft | The text is vertically aligned at the top, and horizontally aligned on the left. |
TopCenter | The text is vertically aligned at the top, and horizontally aligned at the center. |
TopRight | The text is vertically aligned at the top, and horizontally aligned on the right. |
MiddleLeft | The text is vertically aligned in the middle, and horizontally aligned on the left. |
MiddleRight | The text is vertically aligned in the middle, and horizontally aligned on the right. |
BottomLeft | The text is vertically aligned at the bottom, and horizontally aligned on the left. |
BottomCenter | The text is vertically aligned at the bottom, and horizontally aligned at the center. |
BottomRight | The text is vertically aligned at the bottom, and horizontally aligned on the right. |