skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ActionCollection

Represents a collection of Action objects.

Inheritance
System.Object
ActionCollection
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
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
System.Object.Equals(System.Object)

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
System.Collections.Generic.IEnumerable<T>.GetEnumerator()

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
System.Object.GetHashCode()

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

Implements
System.Collections.IEnumerable.GetEnumerator()

Extension Methods

CommonExtensions.ContainsAny<T>(IEnumerable<T>, IEnumerable<T>)
CommonExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
CommonExtensions.Clone<T>(IEnumerable<T>)
ExtensionMethodsEditor.CastCovariant<TFrom, TTo>(IEnumerable<TFrom>)
SvgExtentions.Traverse<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.