Table of Contents

Method Add

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

Add(string, object)

Adds an item to the list control shown in the popup.

public virtual ListControlItem Add(string title, object value)

Parameters

title string

Display text of the item which is shown to the user.

value object

Value associated with the item.

Returns

ListControlItem

Add(object)

Adds an item to the list control shown in the popup.

public virtual ListControlItem Add(object item)

Parameters

item object

Item to add.

Returns

ListControlItem

Remarks

If item is not of type ListControlItem, a new ListControlItem will be created with the provided value.

Add(ListControlItem)

Adds an item to the list control shown in the popup.

public virtual void Add(ListControlItem item)

Parameters

item ListControlItem

Item to add.