Represents a collection of TrackBarRange
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class TrackBarRangeCollection : IList, ICollection, IEnumerable, INotifyPropertyChanged
Inheritance: objectTrackBarRangeCollection
Implements:
Constructors
Properties
Gets the number of elements contained in the Collection
public int Count { get; }
Implements:
Gets a value indicating whether the Collection is read-only.
public bool IsReadOnly { get; }
Implements:
Gets or Sets a maximum value for the trackbar position
[Browsable(true)]
public float Maximum { get; set; }
Gets or Sets a minimum value for the trackbar position
[Browsable(true)]
public float Minimum { get; set; }
Gets or Sets the Mode of the TrackBar
[Browsable(true)]
public TrackBarRangeMode Mode { get; set; }
Gets the RadTrackBarElement which owns this collection
public RadTrackBarElement Owner { get; }
Gets or sets the Range at the specified index.
public TrackBarRange this[int index] { get; set; }
index
Property Value:TrackBarRange
Gets or sets the Range at the specified name.
public TrackBarRange this[string text] { get; }
text
Property Value:TrackBarRange
Methods
Add range to the System.Collections.Generic.ICollection
Check thumb move.
public bool CheckThumbMove(float value, bool isStart, TrackBarRange range)
value
isStartboolisStart
rangeTrackBarRangerange
Returns:bool
Removes all items except the first from the System.Collections.Generic.ICollection
public void Clear()
Implements:
Determines whether the System.Collections.Generic.ICollection contains a specific value.
Copies the elements of the System.Collections.Generic.ICollection to an System.Array, starting at a particular System.Array index.
public void CopyTo(TrackBarRange[] array, int arrayIndex)
array
arrayIndexintarrayIndex
Returns an enumerator that iterates through the collection.
public IEnumerator<TrackBarRange> GetEnumerator()
IEnumerator<TrackBarRange>
IEnumerator
Determines the index of a specific item in the Collection
Inserts an item to the Collections at the specified index.
public virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
protected virtual void OnNotifyPropertyChanged(string propertyName)
Removes the first occurrence of a specific object from the Collection.
Removes the TrackBarRange item at the specified index.
Resumes property and collection notifications.
public void ResumeNotifications()
Suspends all property and collection notifications.
public void SuspendNotifications()
Events
Occurs when an item is added, removed, changed, moved, or the entire list is refreshed.
public event NotifyCollectionChangedEventHandler CollectionChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler PropertyChanged
Implements: