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

CardCaptionCustomDrawEventArgs.RowHandle Property

Gets the row handle identifying the card whose caption is painted.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public int RowHandle { get; }

#Property Value

Type Description
Int32

An integer value representing the row handle that identifies the painted card.

#Remarks

The RowHandle property can be used to identify the painted card and access the data displayed in it. This can be done by passing the row handle obtained to appropriate methods. For instance, you can use the Card View’s CardView.GetCardCaption method to obtain the text to be displayed within the caption. You can also use the View’s ColumnView.GetRowCellValue or ColumnView.GetRowCellDisplayText methods to access the card data and paint its caption.

See Also