Skip to main content

BarCodeControl.VerticalTextAlignment Property

Gets or sets the text’s vertical alignment.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DefaultValue(VertAlignment.Bottom)]
[DXCategory("Appearance")]
public VertAlignment VerticalTextAlignment { get; set; }

Property Value

Type Default Description
VertAlignment Bottom

A VertAlignment enumeration value that specifies the text’s vertical alignment.

Available values:

Name Description
Default

Places the text to its default position. The default position is in the center of an object.

Top

Places the text to the top of an object.

Center

Centers the text within an object.

Bottom

Places the text to the bottom of an object.

See Also