Method AddPage
AddPage(Control, string, bool, ImageSet?)
Adds a new page.
public IAuiNotebookPage? AddPage(Control page, string caption, bool select = true, ImageSet? bitmap = null)
Parameters
page
ControlControls for the new page.
caption
stringText for the new page.
select
boolSpecifies whether the page should be selected.
bitmap
ImageSetimage 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.