Editatu

TriggerActionCollection Class

Definition

Represents a collection of TriggerAction objects.

public ref class TriggerActionCollection sealed : System::Collections::Generic::ICollection<System::Windows::TriggerAction ^>, System::Collections::Generic::IEnumerable<System::Windows::TriggerAction ^>, System::Collections::Generic::IList<System::Windows::TriggerAction ^>, System::Collections::IList
public sealed class TriggerActionCollection : System.Collections.Generic.ICollection<System.Windows.TriggerAction>, System.Collections.Generic.IEnumerable<System.Windows.TriggerAction>, System.Collections.Generic.IList<System.Windows.TriggerAction>, System.Collections.IList
type TriggerActionCollection = class
    interface ICollection<TriggerAction>
    interface seq<TriggerAction>
    interface IEnumerable
    interface IList<TriggerAction>
    interface ICollection
    interface IList
Public NotInheritable Class TriggerActionCollection
Implements ICollection(Of TriggerAction), IEnumerable(Of TriggerAction), IList, IList(Of TriggerAction)
Inheritance
TriggerActionCollection
Implements

Constructors

Name Description
TriggerActionCollection()

Initializes an instance of the TriggerActionCollection class.

TriggerActionCollection(Int32)

Initializes an instance of the TriggerActionCollection class that has the specified initial size.

Properties

Name Description
Count

Gets the number of items in the collection.

IsReadOnly

Gets a value that indicates whether the collection is read-only.

Item[Int32]

Gets or sets the item that is at the specified index.

Methods

Name Description
Add(TriggerAction)

Adds an item to the collection.

Clear()

Removes all items from the collection.

Contains(TriggerAction)

Returns a value that indicates whether the collection contains the specified TriggerAction object.

CopyTo(TriggerAction[], Int32)

Begins at the specified index and copies the collection items to the specified array.

GetEnumerator()

Returns an enumerator that iterates through the collection.

IndexOf(TriggerAction)

Returns the index of the specified item in the collection.

Insert(Int32, TriggerAction)

Inserts the specified item into the collection at the specified index.

Remove(TriggerAction)

Removes the first occurrence of the specified object from the collection.

RemoveAt(Int32)

Removes from the collection the item that is located at the specified index.

Explicit Interface Implementations

Name Description
ICollection.CopyTo(Array, Int32)

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

ICollection.IsSynchronized

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

ICollection.SyncRoot

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

IEnumerable.GetEnumerator()

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

IList.Add(Object)

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

IList.Contains(Object)

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

IList.IndexOf(Object)

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

IList.Insert(Int32, Object)

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

IList.IsFixedSize

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

IList.Item[Int32]

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

IList.Remove(Object)

This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

Applies to