Back to Devexpress

RowCellAlignmentEventArgs.HorzAlignment Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-rowcellalignmenteventargs.md

latest1.7 KB
Original Source

RowCellAlignmentEventArgs.HorzAlignment Property

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

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public HorzAlignment HorzAlignment { get; set; }
vb
Public Property HorzAlignment As HorzAlignment

Property Value

TypeDescription
HorzAlignment

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

RowCellAlignmentEventArgs Class

RowCellAlignmentEventArgs Members

DevExpress.XtraGrid.Views.Base Namespace