Back to Devexpress

BarCodeControl.HorizontalAlignment Property

windowsforms-devexpress-dot-xtraeditors-dot-barcodecontrol-6d6b0db5.md

latest1.6 KB
Original Source

BarCodeControl.HorizontalAlignment Property

Gets or sets the bar code’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 HorizontalAlignment { get; set; }
vb
<DefaultValue(HorzAlignment.Near)>
<DXCategory("Appearance")>
Public Property HorizontalAlignment As HorzAlignment

Property Value

TypeDefaultDescription
HorzAlignmentNear

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