Class ActionCollection
Represents a collection of Action objects.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Actions
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class ActionCollection : IEnumerable<Action>, IEnumerable
Properties
Count
Gets the number of Action elements contained in the collection.
Declaration
public int Count { get; }
Property Value
System.
|
Item[Int32]
Gets or sets the Action at the specified index.
Declaration
public Action this[int index] { get; set; }
Parameters
System. The zero-based index of the Action to get or set. |
Property Value
Methods
Add(Action)
Adds the specified Action to the end of the collection.
Declaration
public void Add(Action action)
Parameters
AddRange(IEnumerable<Action>)
Adds the elements of the specified collection to the end of the current collection.
Declaration
public void AddRange(IEnumerable<Action> items)
Parameters
Clear()
Removes all elements from the collection.
Declaration
public void Clear()
Contains(Action)
Determines whether the collection contains a specific Action.
Declaration
public bool Contains(Action item)
Parameters
Returns
System. true if the Action is found; otherwise, false. |
Equals(Object)
Determines whether the specified object is equal to the current collection.
Declaration
public override bool Equals(object obj)
Parameters
System. The object to compare with the current collection. |
Returns
System. true if the specified object is equal to the current collection; otherwise, false. |
Overrides
Find(Predicate<Action>)
Finds the first Action that matches the conditions defined by the specified predicate.
Declaration
public Action Find(Predicate<Action> match)
Parameters
System. The System.Predicate<T> delegate that defines the conditions of the element to search for. |
Returns
FindAll(Predicate<Action>)
Finds all Action objects that match the conditions defined by the specified predicate.
Declaration
public List<Action> FindAll(Predicate<Action> match)
Parameters
System. The System.Predicate<T> delegate that defines the conditions of the elements to search for. |
Returns
System.
|
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<Action> GetEnumerator()
Returns
System. An enumerator for the collection. |
Implements
GetHashCode()
Serves as a hash function for the Action
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current collection. |
Overrides
GetRange(Int32, Int32)
Returns a range of elements from the collection.
Declaration
public List<Action> GetRange(int index, int count)
Parameters
System. The zero-based starting index of the range. |
System. The number of elements in the range. |
Returns
System. A System.Collections.Generic.List<T> containing the specified range of elements. |
IndexOf(Action)
Returns the zero-based index of the first occurrence of a specific Action in the collection.
Declaration
public int IndexOf(Action item)
Parameters
Returns
System. The zero-based index of the first occurrence of the Action; -1 if not found. |
Insert(Int32, Action)
Inserts an Action into the collection at the specified index.
Declaration
public void Insert(int index, Action item)
Parameters
Remove(Action)
Removes the first occurrence of a specific Action from the collection.
Declaration
public void Remove(Action item)
Parameters
RemoveAt(Int32)
Removes the element at the specified index of the collection.
Declaration
public void RemoveAt(int index)
Parameters
System. The zero-based index of the element to remove. |
RemoveRange(Int32, Int32)
Removes a range of elements from the collection.
Declaration
public void RemoveRange(int index, int count)
Parameters
System. The zero-based index at which removal begins. |
System. The number of elements to remove. |
Reverse()
Reverses the order of the elements in the collection.
Declaration
public void Reverse()
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.
|