Method ChangeSelection
ChangeSelection(int?)
Changes the selection for the given page, returning the previous selection.
public int? ChangeSelection(int? newPage)
Parameters
newPageint?New selected page index.
Returns
- int?
Remarks
This function behaves as SetSelection(int) but does not generate the page changing events.
ChangeSelection(Control?)
Changes selected page to the page which contains control.
public int? ChangeSelection(Control? control)
Parameters
controlControlControl to search for.
Returns
- int?