ClassActionCollection
Mutable list of Action items used to compose responses to user or document events.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Actions
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class ActionCollection : IEnumerable
Inheritance: objectActionCollection
Implements:
Properties
Methods
Add(Action)
Adds the specified Action to the end of the collection.
AddRange(IEnumerable<Action>)
Adds the elements of the specified collection to the end of the current collection.
Contains(Action)
Determines whether the collection contains a specific Action.
Equals(object)
Determines whether the specified object is equal to the current collection.
Find(Predicate<Action>)
Finds the first Action that matches the conditions defined by the specified predicate.
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
match
The Predicate<T> delegate that defines the conditions of the elements to search for.
Returns
List<Action>
A List<T> containing all the Action objects that match the specified predicate, if found; otherwise, an empty list.
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<Action> GetEnumerator()
Returns
IEnumerator<Action>
An enumerator for the collection.
GetHashCode()
Serves as a hash function for the ActionCollection type.
Declaration
public override int GetHashCode()
Returns
A hash code for the current collection.
Overrides
GetRange(int, int)
Returns a range of elements from the collection.
IndexOf(Action)
Returns the zero-based index of the first occurrence of a specific Action in the collection.
Insert(int, Action)
Inserts an Action into the collection at the specified index.
Remove(Action)
Removes the first occurrence of a specific Action from the collection.
RemoveAt(int)
Removes the element at the specified index of the collection.
Declaration
public void RemoveAt(int index)
Parameters
index
The zero-based index of the element to remove.
RemoveRange(int, int)
Removes a range of elements from the collection.
Reverse()
Reverses the order of the elements in the collection.
Declaration
public void Reverse()