Back to Devexpress

BarCodeControl.HorizontalTextAlignment Property

windowsforms-devexpress-dot-xtraeditors-dot-barcodecontrol-5c66ea89.md

latest1.7 KB
Original Source

BarCodeControl.HorizontalTextAlignment Property

Gets or sets the text’s horizontal alignment.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(HorzAlignment.Near)]
[DXCategory("Appearance")]
public HorzAlignment HorizontalTextAlignment { get; set; }
vb
<DefaultValue(HorzAlignment.Near)>
<DXCategory("Appearance")>
Public Property HorizontalTextAlignment As HorzAlignment

Property Value

TypeDefaultDescription
HorzAlignmentNear

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

|

Available values:

NameDescription
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

BarCodeControl Class

BarCodeControl Members

DevExpress.XtraEditors Namespace