Table of Contents

Method ChangeSelection

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

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 Control

Control to search for.

Returns

int?