TriggerActionCollection.Contains Method (TriggerAction)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public Function Contains (
	value As TriggerAction
) As Boolean


Type: System.Windows.TriggerAction

The TriggerAction object to locate in the collection.

Return Value

Type: System.Boolean

true if the TriggerAction object is found in the collection; otherwise, false.

.NET Framework
Available since 3.0
Return to top