Skip to main content
A newer version of this page is available. .

RowCellAlignmentEventArgs.HorzAlignment Property

Gets or sets the cell content’s default horizontal alignment.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public HorzAlignment HorzAlignment { get; set; }

Property Value

Type Description
HorzAlignment

A HorzAlignment enumeration member specifying the cell content’s default 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