Back to Devexpress

RowCellAlignmentEventArgs Class

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

latest2.6 KB
Original Source

RowCellAlignmentEventArgs Class

Provides data for the ColumnView.RowCellDefaultAlignment event.

Namespace : DevExpress.XtraGrid.Views.Base

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public class RowCellAlignmentEventArgs :
    CustomRowCellEventArgs
vb
Public Class RowCellAlignmentEventArgs
    Inherits CustomRowCellEventArgs

RowCellAlignmentEventArgs is the data class for the following events:

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

RowCellAlignmentEventArgs Members

DevExpress.XtraGrid.Views.Base Namespace