Skip to main content

LookUpColumnInfo.Alignment Property

Gets or sets the horizontal alignment of column values within the current column.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
HorzAlignment Default

A HorzAlignment value specifying the alignment of the column’s contents.

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.

Remarks

Use the Alignment property to specify the alignment of the column’s contents. You can align the value to the left, right or center it. Refer to the HorzAlignment help topic for more information.

See Also