RowCellAlignmentEventArgs Class

Provides data for the ColumnView.RowCellDefaultAlignment event.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public class RowCellAlignmentEventArgs :
    CustomRowCellEventArgs
Public Class RowCellAlignmentEventArgs
    Inherits 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