Class
PathStopCollection

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:

cs-api-definition
public class PathStopCollection : Animatable, IList, ICollection, IList<PathStop>, ICollection<PathStop>, IEnumerable<PathStop>, IEnumerable

Inheritance: objectPathStopCollection

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

Constructors

PathStopCollection()

Initializes a new instance of the PathStopCollection class.

Declaration

cs-api-definition
public PathStopCollection()

Properties

Count

Gets the number of elements contained in the ICollection.

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

Implements ICollection.CountICollection<PathStop>.Count

IsFixedSize

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

Declaration

cs-api-definition
public virtual bool IsFixedSize { get; }

Property Value

bool

IsReadOnly

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

Declaration

cs-api-definition
public bool IsReadOnly { get; }

Property Value

bool

Implements ICollection<PathStop>.IsReadOnly

IsSynchronized

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

Declaration

cs-api-definition
public bool IsSynchronized { get; }

Property Value

bool

Implements ICollection.IsSynchronized

SyncRoot

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

Declaration

cs-api-definition
public object SyncRoot { get; }

Property Value

object

Implements ICollection.SyncRoot

this[int]

Gets or sets the PathStop at the specified index.

Declaration

cs-api-definition
public PathStop this[int index] { get; set; }

Parameters

index

int

Property Value

PathStop

Implements IList<PathStop>.this[int]

Methods

Add(PathStop)

Adds an item to the ICollection<T>.

Declaration

cs-api-definition
public void Add(PathStop item)

Parameters

item

PathStop

The object to add to the ICollection<T>.

Exceptions

NotSupportedException

The ICollection<T> is read-only.

Implements ICollection<PathStop>.Add(PathStop)

Clear()

Removes all items from the IList.

Declaration

cs-api-definition
public void Clear()

Exceptions

NotSupportedException

The IList is read-only.

Implements ICollection<PathStop>.Clear()

CloneCore(Freezable)

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

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public bool Contains(PathStop item)

Parameters

item

PathStop

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)

CopyTo(Array, int)

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

Declaration

cs-api-definition
public void CopyTo(Array array, int index)

Parameters

array

Array

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

index

int

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)

CopyTo(PathStop[], int)

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

Declaration

cs-api-definition
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

int

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)

CreateInstanceCore()

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

Declaration

cs-api-definition
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

cs-api-definition
protected override bool FreezeCore(bool isChecking)

Parameters

isChecking

bool

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.

GetAsFrozenCore(Freezable)

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

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public IEnumerator<PathStop> GetEnumerator()

Returns

IEnumerator<PathStop>

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

Implements IEnumerable<PathStop>.GetEnumerator()

IndexOf(PathStop)

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

Declaration

cs-api-definition
public int IndexOf(PathStop item)

Parameters

item

PathStop

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)

Insert(int, PathStop)

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

Declaration

cs-api-definition
public void Insert(int index, PathStop item)

Parameters

index

int

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

item

PathStop

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)

OnChanged()

Called when the current Freezable object is modified.

Declaration

cs-api-definition
protected override void OnChanged()

Remove(PathStop)

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

Declaration

cs-api-definition
public bool Remove(PathStop item)

Parameters

item

PathStop

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)

RemoveAt(int)

Removes the IList item at the specified index.

Declaration

cs-api-definition
public void RemoveAt(int index)

Parameters

index

int

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)