TextEdit.TextAlignment Property
In This Article
Gets or sets the text’s horizontal alignment. This is a dependency property.
Namespace: DevExpress.WinUI.Editors
Assembly: DevExpress.WinUI.Editors.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
[DP(TextAlignment.Left)]
public TextAlignment TextAlignment { get; set; }
#Property Value
Type | Description |
---|---|
Text |
The texs’s horizontal alignment. |
#Remarks
When the TextAlignment property is DetectFromContent, the editor specifies the text alignment based on the text content. For example, English text is left aligned, and Arabic text is right aligned.
See Also