Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RowCellAlignmentEventArgs Class

Provides data for the ColumnView.RowCellDefaultAlignment event.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.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