Skip to main content

TextBox.VerticalTextAlignment Property

Gets or sets the vertical alignment of text box content.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v23.2.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

VerticalTextAlignmentType VerticalTextAlignment { get; set; }

Property Value

Type Description
VerticalTextAlignmentType

An enumeration member that specifies how to position text vertically in the text box.

Available values:

Name Description
Top

Text is vertically aligned at the top.

Center

Text is vertically aligned in the middle.

Bottom

Text is vertically aligned at the bottom.

See Also