Table of Contents

Method Add

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

Add(string, int, ImageSet?)

Adds new item.

int Add(string text, int value, ImageSet? bitmap = null)

Parameters

text string

Item title.

value int

Item value (id).

bitmap ImageSet

Item image.

Returns

int

Added item index.

Add(object, ImageSet?)

Adds new item.

int Add(object value, ImageSet? bitmap = null)

Parameters

value object

Item value.

bitmap ImageSet

Item image

Returns

int

Added item index.

Remarks

Items title is generated automatically using ToString().

Add(string, object, ImageSet?)

Adds new item.

int Add(string text, object value, ImageSet? bitmap = null)

Parameters

text string

Item title.

value object

Item value.

bitmap ImageSet

Item image

Returns

int

Added item index.

Add(string, out int)

Adds new item with autogenerated value (id).

void Add(string text, out int value)

Parameters

text string

Item title.

value int

Item value(id).