CardView.TopLeftCardIndex Property
Gets or sets which card is displayed within the View’s top-left corner.
Namespace: DevExpress.XtraGrid.Views.Card
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
#Property Value
Type | Description |
---|---|
Int32 | An integer value representing the visible index of the card located at the top-left corner. |
#Remarks
When all cards do not fit into the View area, a horizontal scrollbar is displayed so that end-users can scroll the View. You can determine which card is presently displayed within the View’s top-left corner using the TopLeftCardIndex property. To scroll a Card View, and make a specific card visible at the top-left corner, assign the card’s visible index to the TopLeftCardIndex property.
Each time a Card View is scrolled, the View’s CardView.TopLeftCardChanged event is raised.
Note
Detail pattern Views do not contain data and they are never displayed within Xtra
- Grid
Control. - returns the top most View in a grid;Main View - Grid
Control. - returns the focused View;Focused View - Grid
Control. - returns the currently maximized View;Default View - the sender parameter of View specific events;
- Grid
View. - returns a detail clone View for a specific master row.Get Detail View