TriggerActionCollection TriggerActionCollection TriggerActionCollection 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 IList
    interface ICollection
    interface IEnumerable
    interface IList<TriggerAction>
    interface ICollection<TriggerAction>
    interface seq<TriggerAction>
Public NotInheritable Class TriggerActionCollection
Implements ICollection(Of TriggerAction), IEnumerable(Of TriggerAction), IList, IList(Of TriggerAction)
Inheritance
TriggerActionCollectionTriggerActionCollectionTriggerActionCollectionTriggerActionCollection
Implements

Constructors

TriggerActionCollection() TriggerActionCollection() TriggerActionCollection() TriggerActionCollection()

Initializes an instance of the TriggerActionCollection class.

TriggerActionCollection(Int32) TriggerActionCollection(Int32) TriggerActionCollection(Int32) TriggerActionCollection(Int32)

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

Properties

Count Count Count Count

Gets the number of items in the collection.

IsReadOnly IsReadOnly IsReadOnly IsReadOnly

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

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

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

Methods

Add(TriggerAction) Add(TriggerAction) Add(TriggerAction) Add(TriggerAction)

Adds an item to the collection.

Clear() Clear() Clear() Clear()

Removes all items from the collection.

Contains(TriggerAction) Contains(TriggerAction) Contains(TriggerAction) Contains(TriggerAction)

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

CopyTo(TriggerAction[], Int32) CopyTo(TriggerAction[], Int32) CopyTo(TriggerAction[], Int32) CopyTo(TriggerAction[], Int32)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
IndexOf(TriggerAction) IndexOf(TriggerAction) IndexOf(TriggerAction) IndexOf(TriggerAction)

Returns the index of the specified item in the collection.

Insert(Int32, TriggerAction) Insert(Int32, TriggerAction) Insert(Int32, TriggerAction) Insert(Int32, TriggerAction)

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

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Remove(TriggerAction) Remove(TriggerAction) Remove(TriggerAction) Remove(TriggerAction)

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

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

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

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) 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 ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

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

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

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

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() 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) IList.Add(Object) IList.Add(Object) 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) IList.Contains(Object) IList.Contains(Object) 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) IList.IndexOf(Object) IList.IndexOf(Object) 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) IList.Insert(Int32, Object) IList.Insert(Int32, Object) 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 IList.IsFixedSize IList.IsFixedSize 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] IList.Item[Int32] IList.Item[Int32] 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) IList.Remove(Object) IList.Remove(Object) IList.Remove(Object)

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

Extension Methods

CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>) CopyToDataTable<T>(IEnumerable<T>)

Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler) CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>) Ancestors<T>(IEnumerable<T>)

Returns a collection of elements that contains the ancestors of every node in the source collection.

Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName) Ancestors<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the ancestors of every node in the source collection. Only elements that have a matching XName are included in the collection.

DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>) DescendantNodes<T>(IEnumerable<T>)

Returns a collection of the descendant nodes of every document and element in the source collection.

Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>) Descendants<T>(IEnumerable<T>)

Returns a collection of elements that contains the descendant elements of every element and document in the source collection.

Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName) Descendants<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>) Elements<T>(IEnumerable<T>)

Returns a collection of the child elements of every element and document in the source collection.

Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName) Elements<T>(IEnumerable<T>, XName)

Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>) InDocumentOrder<T>(IEnumerable<T>)

Returns a collection of nodes that contains all nodes in the source collection, sorted in document order.

Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>) Nodes<T>(IEnumerable<T>)

Returns a collection of the child nodes of every document and element in the source collection.

Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>) Remove<T>(IEnumerable<T>)

Removes every node in the source collection from its parent node.

Applies to