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