ClassPathStopCollection
Stores PathStop objects that are used for Opacity, Skew, and Scale effects of the RadCarouselPanel.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class PathStopCollection : Animatable, IList, ICollection, IList<PathStop>, ICollection<PathStop>, IEnumerable<PathStop>, IEnumerable
Inheritance: objectPathStopCollection
Implements:
Constructors
PathStopCollection()
Initializes a new instance of the PathStopCollection class.
Declaration
public PathStopCollection()
Properties
Count
Gets the number of elements contained in the ICollection.
IsFixedSize
Gets a value indicating whether the IList has a fixed size.
IsReadOnly
Gets a value indicating whether the ICollection<T> is read-only.
IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
SyncRoot
Gets an object that can be used to synchronize access to the ICollection.
Methods
Add(PathStop)
Adds an item to the ICollection<T>.
Declaration
public void Add(PathStop item)
Parameters
item
The object to add to the ICollection<T>.
Exceptions
The ICollection<T> is read-only.
Implements
Clear()
Removes all items from the IList.
CloneCore(Freezable)
Makes the instance a clone (deep copy) of the specified Freezable using base (non-animated) property values.
Declaration
protected override void CloneCore(Freezable sourceFreezable)
Parameters
sourceFreezable
Freezable
The object to clone.
CloneCurrentValueCore(Freezable)
Makes the instance a modifiable clone (deep copy) of the specified Freezable using current property values.
Declaration
protected override void CloneCurrentValueCore(Freezable sourceFreezable)
Parameters
sourceFreezable
Freezable
The Freezable to be cloned.
Contains(PathStop)
Determines whether the ICollection<T> contains a specific value.
Declaration
public bool Contains(PathStop item)
Parameters
item
The object to locate in the ICollection<T>.
Returns
True if item is found in the ICollection<T>; otherwise, false.
Implements
CopyTo(Array, int)
Copies the elements of the ICollection to an Array, starting at a particular Array index.
Declaration
public void CopyTo(Array array, int index)
Parameters
array
The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.
index
The zero-based index in array at which copying begins.
Exceptions
array is null.
index is less than zero.
array is multidimensional.-or- index is equal to or greater than the length of array.-or- The number of elements in the source ICollection is greater than the available space from index to the end of the destination array.
The type of the source ICollection cannot be cast automatically to the type of the destination array.
Implements
CopyTo(PathStop[], int)
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
Declaration
public void CopyTo(PathStop[] array, int arrayIndex)
Parameters
array
PathStop[]
The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.
arrayIndex
The zero-based index in array at which copying begins.
Exceptions
array is null.
arrayIndex is less than 0.
array is multidimensional.-or-arrayIndex is equal to or greater than the length of array.-or-The number of elements in the source ICollection<T> is greater than the available space from arrayIndex to the end of the destination array.
Implements
CreateInstanceCore()
When implemented in a derived class, creates a new instance of the Freezable derived class.
Declaration
protected override Freezable CreateInstanceCore()
Returns
Freezable
The new instance.
FreezeCore(bool)
Makes this object non-modifiable or determines whether it can be made non-modifiable.
Declaration
protected override bool FreezeCore(bool isChecking)
Parameters
isChecking
True if this method should simply determine whether this instance can be frozen. false if this instance should actually freeze itself when this method is called.
Returns
If isChecking is true, this method returns true if this can be made non-modifiable, or false if it cannot be made non-modifiable. If isChecking is false, this method returns true if the if this is now non-modifiable, or false if it cannot be made non-modifiable, with the side effect of having begun to change the frozen status of this object.
GetAsFrozenCore(Freezable)
Makes the instance a frozen clone of the specified Freezable using base (non-animated) property values.
Declaration
protected override void GetAsFrozenCore(Freezable sourceFreezable)
Parameters
sourceFreezable
Freezable
The instance to copy.
GetCurrentValueAsFrozenCore(Freezable)
Makes the current instance a frozen clone of the specified Freezable. If the object has animated dependency properties, their current animated values are copied.
Declaration
protected override void GetCurrentValueAsFrozenCore(Freezable sourceFreezable)
Parameters
sourceFreezable
Freezable
The Freezable to copy and freeze.
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<PathStop> GetEnumerator()
Returns
A IEnumerator<T> that can be used to iterate through the collection.
Implements
IndexOf(PathStop)
Determines the index of a specific item in the IList<T>.
Insert(int, PathStop)
Inserts an item to the IList<T> at the specified index.
OnChanged()
Called when the current Freezable object is modified.
Declaration
protected override void OnChanged()
Remove(PathStop)
Removes the first occurrence of a specific object from the ICollection<T>.
Declaration
public bool Remove(PathStop item)
Parameters
item
The object to remove from the ICollection<T>.
Returns
True if item was successfully removed from the ICollection<T>; otherwise, false. This method also returns false if item is not found in the original ICollection<T>.
Exceptions
The ICollection<T> is read-only.
Implements
RemoveAt(int)
Removes the IList item at the specified index.
Declaration
public void RemoveAt(int index)
Parameters
index
The zero-based index of the item to remove.
Exceptions
index is not a valid index in the IList.
Implements