Class TrackBarRangeCollection
Represents a collection of TrackBarRange
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class TrackBarRangeCollection : IList, ICollection, IList<TrackBarRange>, ICollection<TrackBarRange>, IEnumerable<TrackBarRange>, IEnumerable, INotifyPropertyChanged
Constructors
TrackBarRangeCollection(RadTrackBarElement)
Declaration
public TrackBarRangeCollection(RadTrackBarElement owner)
Parameters
RadTrackBarElement
owner
|
Properties
Count
Gets the number of elements contained in the Collection
Declaration
public int Count { get; }
Property Value
System.Int32
|
Implements
IsReadOnly
Gets a value indicating whether the Collection is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean
|
Implements
Item[Int32]
Gets or sets the Range at the specified index.
Declaration
public TrackBarRange this[int index] { get; set; }
Parameters
System.Int32
index
index |
Property Value
TrackBarRange
TrackBarRange |
Implements
Item[String]
Gets or sets the Range at the specified name.
Declaration
public TrackBarRange this[string text] { get; }
Parameters
System.String
text
text |
Property Value
TrackBarRange
TrackBarRange |
Maximum
Gets or Sets a maximum value for the trackbar position
Declaration
public float Maximum { get; set; }
Property Value
System.Single
|
Minimum
Gets or Sets a minimum value for the trackbar position
Declaration
public float Minimum { get; set; }
Property Value
System.Single
|
Mode
Gets or Sets the Mode of the TrackBar
Declaration
public TrackBarRangeMode Mode { get; set; }
Property Value
TrackBarRangeMode
|
Owner
Gets the RadTrackBarElement which owns this collection
Declaration
public RadTrackBarElement Owner { get; }
Property Value
RadTrackBarElement
|
Methods
Add(TrackBarRange)
Add range to the System.Collections.Generic.ICollection
Declaration
public void Add(TrackBarRange item)
Parameters
TrackBarRange
item
item |
Implements
CheckThumbMove(Single, Boolean, TrackBarRange)
Check thumb move.
Declaration
public bool CheckThumbMove(float value, bool isStart, TrackBarRange range)
Parameters
System.Single
value
value |
System.Boolean
isStart
isStart |
TrackBarRange
range
range |
Returns
System.Boolean
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
TrackBarRange
item
|
Returns
System.Boolean
bool |
Implements
CopyTo(TrackBarRange[], Int32)
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
TrackBarRange[]
array
array |
System.Int32
arrayIndex
arrayIndex |
Implements
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<TrackBarRange> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<TrackBarRange>
IEnumerator |
Implements
IndexOf(TrackBarRange)
Determines the index of a specific item in the Collection
Declaration
public int IndexOf(TrackBarRange item)
Parameters
TrackBarRange
item
item |
Returns
System.Int32
int |
Implements
Insert(Int32, TrackBarRange)
Inserts an item to the Collections at the specified index.
Declaration
public void Insert(int index, TrackBarRange item)
Parameters
System.Int32
index
index |
TrackBarRange
item
item |
Implements
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
public virtual void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
NotifyCollectionChangedEventArgs
e
|
OnNotifyPropertyChanged(String)
Declaration
protected virtual void OnNotifyPropertyChanged(string propertyName)
Parameters
System.String
propertyName
|
PerformThumbMove(Single)
Perform Thumb Move in SingleThumb Mode.
Declaration
public bool PerformThumbMove(float value)
Parameters
System.Single
value
Value |
Returns
System.Boolean
bool |
Remove(TrackBarRange)
Removes the first occurrence of a specific object from the Collection.
Declaration
public bool Remove(TrackBarRange item)
Parameters
TrackBarRange
item
item |
Returns
System.Boolean
bool |
Implements
RemoveAt(Int32)
Removes the TrackBarRange item at the specified index.
Declaration
public void RemoveAt(int index)
Parameters
System.Int32
index
index |
Implements
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 Type
NotifyCollectionChangedEventHandler
|
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|
Explicit Interface Implementations
ICollection.CopyTo(Array, Int32)
Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index.
Declaration
void ICollection.CopyTo(Array array, int index)
Parameters
System.Array
array
array |
System.Int32
index
index |
Implements
ICollection.IsSynchronized
Gets a value indicating whether access to the System.Collections.ICollection is synchronized (thread safe).
Declaration
bool ICollection.IsSynchronized { get; }
Returns
System.Boolean
|
Implements
ICollection.SyncRoot
Gets an object that can be used to synchronize access to the System.Collections.ICollection.
Declaration
object ICollection.SyncRoot { get; }
Returns
System.Object
|
Implements
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|
Implements
IList.Add(Object)
Adds an item to the System.Collections.Generic.ICollection.
Declaration
int IList.Add(object value)
Parameters
System.Object
value
value |
Returns
System.Int32
int |
Implements
IList.Contains(Object)
Determines whether the System.Collections.Generic.ICollection contains a specific value.
Declaration
bool IList.Contains(object value)
Parameters
System.Object
value
value |
Returns
System.Boolean
bool |
Implements
IList.get_Item(Int32)
Declaration
object IList.get_Item(int index)
Parameters
System.Int32
index
|
Returns
System.Object
|
Implements
IList.IndexOf(Object)
Determines the index of a specific item in the System.Collections.IList.
Declaration
int IList.IndexOf(object value)
Parameters
System.Object
value
value |
Returns
System.Int32
int |
Implements
IList.Insert(Int32, Object)
Inserts an item to the System.Collections.IList at the specified index.
Declaration
void IList.Insert(int index, object value)
Parameters
System.Int32
index
index |
System.Object
value
value |
Implements
IList.IsFixedSize
Gets a value indicating whether the System.Collections.IList has a fixed size.
Declaration
bool IList.IsFixedSize { get; }
Returns
System.Boolean
|
Implements
IList.Item[Int32]
Gets or sets the element at the specified index.
Declaration
object IList.this[] { get; set; }
Parameters
System.Int32
index
index |
Returns
System.Object
object |
Implements
IList.Remove(Object)
Removes the first occurrence of a specific object from the System.Collections.IList.
Declaration
void IList.Remove(object value)
Parameters
System.Object
value
value |
Implements
IList.set_Item(Int32, Object)
Declaration
void IList.set_Item(int index, object value)
Parameters
System.Int32
index
|
System.Object
value
|