Table of Contents

Method InsertPage

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

InsertPage(int, Control, string, bool, ImageSet?)

Inserts a new page at the specified position.

public IAuiNotebookPage? InsertPage(int pageIdx, Control page, string caption, bool select = true, ImageSet? bitmap = null)

Parameters

pageIdx int

Position for the new page.

page Control

Controls for the new page.

caption string

Text for the new page.

select bool

Specifies whether the page should be selected.

bitmap ImageSet

image for the new page. Optional.

Returns

IAuiNotebookPage

IAuiNotebookPage if successful, null otherwise.

Remarks

If the select parameter is true, calling this will generate a page change event.