Method Add
Add(string?, AbstractControl)
Adds new page.
public virtual int Add(string? title, AbstractControl control)
Parameters
titlestringPage title.
controlAbstractControlControl.
Returns
- int
Created page index.
Add(string?, Func<AbstractControl>)
Adds new page.
public virtual int Add(string? title, Func<AbstractControl> fnCreate)
Parameters
titlestringPage title.
fnCreateFunc<AbstractControl>Function which creates the control.
Returns
- int
Created page index.