Skip to main content

RowCellAlignmentEventArgs Class

Provides data for the ColumnView.RowCellDefaultAlignment event.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public class RowCellAlignmentEventArgs :
    CustomRowCellEventArgs

Remarks

The ColumnView.RowCellDefaultAlignment event enables you to specify content alignment for individual cells. Thus, the RowCellAlignmentEventArgs class provides properties to identify the processed cell and specify its content alignment. The cell can be identified using the inherited CustomRowCellEventArgs.RowHandle and CustomRowCellEventArgs.Column properties. The RowCellAlignmentEventArgs.HorzAlignment property specifies the horizontal alignment of the processed cell’s content.

RowCellAlignmentEventArgs objects are automatically created and passed to ColumnView.RowCellDefaultAlignment event handlers.

Inheritance

Object
EventArgs
CustomRowCellEventArgs
RowCellAlignmentEventArgs
See Also