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

Declaration

public override ListEditItemBase Add(
    string text,
    object value,
    string toolTip
)
Public Overrides Function Add(
    text As String,
    value As Object,
    toolTip As String
) As ListEditItemBase

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