TcxGridCardViewRowLayoutController.FindNextRow(TcxGridCard,TcxGridCardViewRow,Boolean,Boolean,Boolean,Boolean) Method
Traverses a card in a specified direction and returns a reference to the card row next (or previous) to ARow.
Declaration
function FindNextRow(ACard: TcxGridCard; ARow: TcxGridCardViewRow; ASameLayer: Boolean; AGoForward: Boolean; AGoOnCycle: Boolean; out ACycleChanged: Boolean): TcxGridCardViewRow;
Parameters
Name | Type |
---|---|
ACard | TcxGridCard |
ARow | TcxGridCardViewRow |
ASameLayer | Boolean |
AGoForward | Boolean |
AGoOnCycle | Boolean |
ACycleChanged | Boolean |
Returns
Type |
---|
TcxGridCardViewRow |
Remarks
This function performs navigation in both directions. To perform navigation in a horizontal direction (in a horizontally layered card), call the FindNextRowHorizontally function. For vertical navigation (in a vertically layered card), call the FindNextRowVertically function.
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 navigation 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 (if the ASameLayer parameter is set to True) or the card (if the ASameLayer parameter is set to False). Set the AGoOnCycle parameter to True, to continue clockwise navigation (if the AGoForward parameter is set to True), or counterclockwise navigation (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.