Method InsertPage
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
pageIdxintPosition for the new page.
pageControlControls for the new page.
captionstringText for the new page.
selectboolSpecifies whether the page should be selected.
bitmapImageSetimage for the new page. Optional.
Returns
- IAuiNotebookPage
IAuiNotebookPage if successful,
nullotherwise.
Remarks
If the select parameter is true, calling
this will generate a page change event.