ClassTrackBarRangeCollection
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
TrackBarRangeCollection(RadTrackBarElement)
Declaration
public TrackBarRangeCollection(RadTrackBarElement owner)
Parameters
owner
Properties
Count
Gets the number of elements contained in the Collection
IsReadOnly
Gets a value indicating whether the Collection is read-only.
Maximum
Gets or Sets a maximum value for the trackbar position
Declaration
[Browsable(true)]
public float Maximum { get; set; }
Property Value
Minimum
Gets or Sets a minimum value for the trackbar position
Declaration
[Browsable(true)]
public float Minimum { get; set; }
Property Value
Mode
Gets or Sets the Mode of the TrackBar
Declaration
[Browsable(true)]
public TrackBarRangeMode Mode { get; set; }
Property Value
Owner
Gets the RadTrackBarElement which owns this collection
Declaration
public RadTrackBarElement Owner { get; }
Property Value
this[int]
Gets or sets the Range at the specified index.
Declaration
public TrackBarRange this[int index] { get; set; }
Parameters
index
index
Property Value
TrackBarRange
this[string]
Gets or sets the Range at the specified name.
Declaration
public TrackBarRange this[string text] { get; }
Parameters
text
text
Property Value
TrackBarRange
Methods
Add(TrackBarRange)
Add range to the System.Collections.Generic.ICollection
Declaration
public void Add(TrackBarRange item)
Parameters
item
item
CheckThumbMove(float, bool, TrackBarRange)
Check thumb move.
Declaration
public bool CheckThumbMove(float value, bool isStart, TrackBarRange range)
Parameters
value
value
isStart
isStart
range
range
Returns
bool
Clear()
Removes all items except the first from the System.Collections.Generic.ICollection
Declaration
public void Clear()
Implements
Contains(TrackBarRange)
Determines whether the System.Collections.Generic.ICollection contains a specific value.
Declaration
public bool Contains(TrackBarRange item)
Parameters
item
Returns
bool
CopyTo(TrackBarRange[], int)
Copies the elements of the System.Collections.Generic.ICollection to an System.Array, starting at a particular System.Array index.
Declaration
public void CopyTo(TrackBarRange[] array, int arrayIndex)
Parameters
array
array
arrayIndex
arrayIndex
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<TrackBarRange> GetEnumerator()
Returns
IEnumerator<TrackBarRange>
IEnumerator
IndexOf(TrackBarRange)
Determines the index of a specific item in the Collection
Declaration
public int IndexOf(TrackBarRange item)
Parameters
item
item
Returns
int
Insert(int, TrackBarRange)
Inserts an item to the Collections at the specified index.
Declaration
public void Insert(int index, TrackBarRange item)
Parameters
index
index
item
item
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
public virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
OnNotifyPropertyChanged(string)
Declaration
protected virtual void OnNotifyPropertyChanged(string propertyName)
Parameters
propertyName
PerformThumbMove(float)
Perform Thumb Move in SingleThumb Mode.
Remove(TrackBarRange)
Removes the first occurrence of a specific object from the Collection.
Declaration
public bool Remove(TrackBarRange item)
Parameters
item
item
Returns
bool
RemoveAt(int)
Removes the TrackBarRange item at the specified index.
ResumeNotifications()
Resumes property and collection notifications.
Declaration
public void ResumeNotifications()
SuspendNotifications()
Suspends all property and collection notifications.
Declaration
public void SuspendNotifications()
Events
CollectionChanged
Occurs when an item is added, removed, changed, moved, or the entire list is refreshed.
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Value
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements