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(Int32, GridColumn, HorzAlignment) Constructor

Creates a new RowCellAlignmentEventArgs object.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public RowCellAlignmentEventArgs(
    int rowHandle,
    GridColumn column,
    HorzAlignment horzAlignment
)

#Parameters

Name Type Description
rowHandle Int32

An integer value identifying the row owning the cell by its handle. This value is assigned to the CustomRowCellEventArgs.RowHandle property.

column GridColumn

A GridColumn object representing the column that contains the cell. This value is assigned to the CustomRowCellEventArgs.Column property.

horzAlignment HorzAlignment

A HorzAlignment enumeration value specifying the cell content’s horizontal alignment. This value is assigned to the RowCellAlignmentEventArgs.HorzAlignment property.

#Remarks

Instances of this class are automatically created, initialized and passed to ColumnView.RowCellDefaultAlignment event handlers.

See Also