Skip to main content
A newer version of this page is available. .
Tab

TrackBarItemCollection.Add(String, Object, String) Method

Adds a new item to the collection and specifies the item’s display text and value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public override ListEditItemBase Add(
    string text,
    object value,
    string toolTip
)

Parameters

Name Type Description
text String

A String value specifying the item’s display text. Initializes the item’s TrackBarItem.Text property.

value Object

A Object specifying the value associated with the item. Initializes the item’s TrackBarItem.Value property.

toolTip String

A Object specifying the item’s tooltip. Initializes the item’s TrackBarItem.ToolTip property.

Returns

Type Description
ListEditItemBase

A ListEditItemBase object that is the newly created item.

See Also