Skip to main content
Tab

TrackBarProperties.Items Property

Gets the collection of items in the track bar control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public TrackBarItemCollection Items { get; }

Property Value

Type Description
TrackBarItemCollection

A TrackBarItemCollection instance that is the collection of the editor’s items.

Remarks

Use the Items property to access a collection of items within the track bar editor. The collection provides methods and properties that allow you to add new items and remove existing ones, access individual items, etc.

If the editor is data bound, the Items collection is filled automatically with items obtained from the bound data source. The manually defined Items collection content is ignored (overwritten) in this case.

Note that for a list editor to function properly, the TrackBarItem.Value property of all list items in the Items collection should specify a unique value.

Note

The TrackBarProperties.ScalePosition property value should be other than None in order to display items.

Note

The Items property synchronizes its value with the editor’s ASPxTrackBar.Items property.

See Also