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

TrackBarItemCollection.Add(String, Object) Method

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public virtual TrackBarItem Add(
    string text,
    object value
)

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.

Returns

Type Description
TrackBarItem

A TrackBarItem object that is the newly created item.

See Also