Skip to main content

CardCaptionCustomDrawEventArgs.RowHandle Property

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

Namespace: DevExpress.XtraGrid.Views.Card

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