TcxGridCardViewRowLayoutController.FindNextRowHorizontally(TcxGridCard,TcxGridCardViewRow,Boolean,Boolean,Boolean) Method
Traverses a card in a horizontal direction and returns a reference to the card row next (or previous) to ARow.
Declaration
function FindNextRowHorizontally(ACard: TcxGridCard; ARow: TcxGridCardViewRow; AGoForward: Boolean; AGoOnCycle: Boolean; out ACycleChanged: Boolean): TcxGridCardViewRow;
Parameters
Name | Type |
---|---|
ACard | TcxGridCard |
ARow | TcxGridCardViewRow |
AGoForward | Boolean |
AGoOnCycle | Boolean |
ACycleChanged | Boolean |
Returns
Type |
---|
TcxGridCardViewRow |
Remarks
This function is designed for navigation in a horizontally layered card (see the View’s RowLayout property and the card row’s Position.BeginsLayer property).
The ACard parameter specifies the card to be navigated.
The ARow parameter specifies the card row that is the start point of navigation.
The ASameLayer parameter specifies whether navigation is bounded by ARow‘s layer. Set the ASameLayer parameter to True to perform a lookup in one layer. Otherwise, navigation will be performed in the next layer if ARow is the last in the current layer, and the AGoForward parameter is set to True (or in the previous layer, if ARow is first in the layer and the AGoForward parameter is set to False).
The AGoForward parameter specifies the direction of navigation. Set the AGoForward parameter to True, to move forward. Otherwise backward navigation will be performed.
The AGoOnCycle parameter specifies whether navigation wraps at the end or at the start of the layer. Set the AGoOnCycle parameter to True to continue clockwise cycling (if the AGoForward parameter is set to True), or counterclockwise cycling (if the AGoForward parameter is set to False).
The ACycleChanged parameter specifies whether the AGoOnCycle parameter is set to True when forward navigation is performed (the AGoForward parameter’s value is True). It returns True if both parameters (the AGoOnCycle and AGoForward) are True.