Back to Devexpress

MapPointer.TextAlignment Property

windowsforms-devexpress-dot-xtramap-dot-mappointer-0f7b0a5c.md

latest2.1 KB
Original Source

MapPointer.TextAlignment Property

Gets or sets the alignment of the text in a map pointer.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue(TextAlignment.MiddleRight)]
public TextAlignment TextAlignment { get; set; }
vb
<DefaultValue(TextAlignment.MiddleRight)>
Public Property TextAlignment As TextAlignment

Property Value

TypeDefaultDescription
TextAlignmentMiddleRight

One of the TextAlignment enumeration values that specifies how the text is aligned in the map pointer.

|

Available values:

NameDescription
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.

|

See Also

MapPointer Class

MapPointer Members

DevExpress.XtraMap Namespace