Method ChangeSelection
ChangeSelection(int?)
Changes the selection for the given page, returning the previous selection.
public int? ChangeSelection(int? newPage)
Parameters
newPage
int?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
control
ControlControl to search for.
Returns
- int?