New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class PathStopCollection : Animatable, IList, ICollection, IList<PathStop>, ICollection<PathStop>, IEnumerable<PathStop>, IEnumerable

Inheritance: objectPathStopCollection

Implements: ICollectionICollection<PathStop>IEnumerableIEnumerable<PathStop>IListIList<PathStop>...

Constructors

Initializes a new instance of the PathStopCollection class.

C#
public PathStopCollection()

Properties

Gets the number of elements contained in the ICollection.

C#
public int Count { get; }

Implements: ICollection.CountICollection<PathStop>.Count

Gets a value indicating whether the IList has a fixed size.

C#
public virtual bool IsFixedSize { get; }

Gets a value indicating whether the ICollection<T> is read-only.

C#
public bool IsReadOnly { get; }

Implements: ICollection<PathStop>.IsReadOnly

Gets a value indicating whether access to the ICollection is synchronized (thread safe).

C#
public bool IsSynchronized { get; }

Implements: ICollection.IsSynchronized

Gets an object that can be used to synchronize access to the ICollection.

C#
public object SyncRoot { get; }

Implements: ICollection.SyncRoot

Gets or sets the PathStop at the specified index.

C#
public PathStop this[int index] { get; set; }
Parameters:indexint

Implements: IList<PathStop>.this[int]

Methods

Adds an item to the ICollection<T>.

C#
public void Add(PathStop item)
Parameters:itemPathStop

The object to add to the ICollection<T>.

Exceptions:

NotSupportedException

The ICollection<T> is read-only.

Implements: ICollection<PathStop>.Add(PathStop)

Removes all items from the IList.

C#
public void Clear()
Exceptions:

NotSupportedException

The IList is read-only.

Implements: ICollection<PathStop>.Clear()

Makes the instance a clone (deep copy) of the specified Freezable using base (non-animated) property values.

C#
protected override void CloneCore(Freezable sourceFreezable)
Parameters:sourceFreezableFreezable

The object to clone.

Makes the instance a modifiable clone (deep copy) of the specified Freezable using current property values.

C#
protected override void CloneCurrentValueCore(Freezable sourceFreezable)
Parameters:sourceFreezableFreezable

The Freezable to be cloned.

Determines whether the ICollection<T> contains a specific value.

C#
public bool Contains(PathStop item)
Parameters:itemPathStop

The object to locate in the ICollection<T>.

Returns:

bool

True if item is found in the ICollection<T>; otherwise, false.

Implements: ICollection<PathStop>.Contains(PathStop)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

C#
public void CopyTo(Array array, int index)
Parameters:arrayArray

The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.

indexint

The zero-based index in array at which copying begins.

Exceptions:

ArgumentNullException

array is null.

ArgumentOutOfRangeException

index is less than zero.

ArgumentException

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.

ArgumentException

The type of the source ICollection cannot be cast automatically to the type of the destination array.

Implements: ICollection.CopyTo(Array, int)

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

C#
public void CopyTo(PathStop[] array, int arrayIndex)
Parameters:arrayPathStop[]

The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.

arrayIndexint

The zero-based index in array at which copying begins.

Exceptions:

ArgumentNullException

array is null.

ArgumentOutOfRangeException

arrayIndex is less than 0.

ArgumentException

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: ICollection<PathStop>.CopyTo(PathStop[], int)

When implemented in a derived class, creates a new instance of the Freezable derived class.

C#
protected override Freezable CreateInstanceCore()
Returns:

Freezable

The new instance.

Makes this object non-modifiable or determines whether it can be made non-modifiable.

C#
protected override bool FreezeCore(bool isChecking)
Parameters:isCheckingbool

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:

bool

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.

Makes the instance a frozen clone of the specified Freezable using base (non-animated) property values.

C#
protected override void GetAsFrozenCore(Freezable sourceFreezable)
Parameters:sourceFreezableFreezable

The instance to copy.

Makes the current instance a frozen clone of the specified Freezable. If the object has animated dependency properties, their current animated values are copied.

C#
protected override void GetCurrentValueAsFrozenCore(Freezable sourceFreezable)
Parameters:sourceFreezableFreezable

The Freezable to copy and freeze.

Returns an enumerator that iterates through the collection.

C#
public IEnumerator<PathStop> GetEnumerator()
Returns:

IEnumerator<PathStop>

A IEnumerator<T> that can be used to iterate through the collection.

Implements: IEnumerable<PathStop>.GetEnumerator()

Determines the index of a specific item in the IList<T>.

C#
public int IndexOf(PathStop item)
Parameters:itemPathStop

The object to locate in the IList<T>.

Returns:

int

The index of item if found in the list; otherwise, -1.

Implements: IList<PathStop>.IndexOf(PathStop)

Inserts an item to the IList<T> at the specified index.

C#
public void Insert(int index, PathStop item)
Parameters:indexint

The zero-based index at which item should be inserted.

itemPathStop

The object to insert into the IList<T>.

Exceptions:

ArgumentOutOfRangeException

index is not a valid index in the IList<T>.

NotSupportedException

The IList<T> is read-only.

Implements: IList<PathStop>.Insert(int, PathStop)

Called when the current Freezable object is modified.

C#
protected override void OnChanged()

Removes the first occurrence of a specific object from the ICollection<T>.

C#
public bool Remove(PathStop item)
Parameters:itemPathStop

The object to remove from the ICollection<T>.

Returns:

bool

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:

NotSupportedException

The ICollection<T> is read-only.

Implements: ICollection<PathStop>.Remove(PathStop)

Removes the IList item at the specified index.

C#
public void RemoveAt(int index)
Parameters:indexint

The zero-based index of the item to remove.

Exceptions:

ArgumentOutOfRangeException

index is not a valid index in the IList.

NotSupportedException

The IList is read-only.-or- The IList has a fixed size.

Implements: IList<PathStop>.RemoveAt(int)