Table of Contents

Method Add

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Add(string, Func<Control>)

Adds new page.

public int Add(string title, Func<Control> fnCreate)

Parameters

title string

Page title.

fnCreate Func<Control>

Function which creates the control.

Returns

int

Created page index.

Add(string, Control)

Adds new page.

public int Add(string title, Control control)

Parameters

title string

Page title.

control Control

Control.

Returns

int

Created page index.