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.Int32
         
  | 
    
Item[Int32]
Gets or sets the Action at the specified index.
Declaration
public Action this[int index] { get; set; }
  Parameters
| 
        System.Int32
        index
         The zero-based index of the Action to get or set.  | 
    
Property Value
| 
        Action
         The Action at the specified index.  | 
    
Methods
Add(Action)
Adds the specified Action to the end of the collection.
Declaration
public void Add(Action action)
  Parameters
| 
        Action
        action
         The Action to add.  | 
    
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
| 
        System.Collections.Generic.IEnumerable<Action>
        items
         The collection of Action objects to add.  | 
    
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
| 
        Action
        item
         The Action to locate.  | 
    
Returns
| 
        System.Boolean
         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.Object
        obj
         The object to compare with the current collection.  | 
    
Returns
| 
        System.Boolean
         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.Predicate<Action>
        match
         The System.Predicate<T> delegate that defines the conditions of the element to search for.  | 
    
Returns
| 
        Action
         The first Action that matches the specified predicate, if found; otherwise, null.  | 
    
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.Predicate<Action>
        match
         The System.Predicate<T> delegate that defines the conditions of the elements to search for.  | 
    
Returns
| 
        System.Collections.Generic.List<Action>
         A System.Collections.Generic.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
| 
        System.Collections.Generic.IEnumerator<Action>
         An enumerator for the collection.  | 
    
Implements
GetHashCode()
Serves as a hash function for the ActionCollection type.
Declaration
public override int GetHashCode()
  Returns
| 
        System.Int32
         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.Int32
        index
         The zero-based starting index of the range.  | 
    
| 
        System.Int32
        count
         The number of elements in the range.  | 
    
Returns
| 
        System.Collections.Generic.List<Action>
         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
| 
        Action
        item
         The Action to locate.  | 
    
Returns
| 
        System.Int32
         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
| 
        System.Int32
        index
         The zero-based index at which the Action should be inserted.  | 
    
| 
        Action
        item
         The Action to insert.  | 
    
Remove(Action)
Removes the first occurrence of a specific Action from the collection.
Declaration
public void Remove(Action item)
  Parameters
| 
        Action
        item
         The Action to remove.  | 
    
RemoveAt(Int32)
Removes the element at the specified index of the collection.
Declaration
public void RemoveAt(int index)
  Parameters
| 
        System.Int32
        index
         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.Int32
        index
         The zero-based index at which removal begins.  | 
    
| 
        System.Int32
        count
         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.Collections.IEnumerator
         
  |