Skip to main content

BarCodeControl.VerticalAlignment Property

Gets or sets the bar code’s vertical alignment.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
VertAlignment Top

A VertAlignment enumeration value that specifies the bar code’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