Skip to main content

BarCodeControl.HorizontalTextAlignment Property

Gets or sets the text’s horizontal alignment.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(HorzAlignment.Near)]
[DXCategory("Appearance")]
public HorzAlignment HorizontalTextAlignment { get; set; }

Property Value

Type Default Description
HorzAlignment Near

A HorzAlignment enumeration value that specifies the text’s horizontal alignment.

Available values:

Name Description
Default

Places an object or text at the default position, which is determined by a control.

Near

Places an object/text at a near position.

Center

Centers an object or text within a region.

Far

Places an object/text at a far position.

See Also