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.v20.2.dll

Declaration

public virtual TrackBarItem Add(
    string text,
    object value
)
Public Overridable Function Add(
    text As String,
    value As Object
) As TrackBarItem

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