TriggerActionCollection.IndexOf(TriggerAction) Method

Definition

Returns the index of the specified item in the collection.

public:
 virtual int IndexOf(System::Windows::TriggerAction ^ value);
public int IndexOf (System.Windows.TriggerAction value);
abstract member IndexOf : System.Windows.TriggerAction -> int
override this.IndexOf : System.Windows.TriggerAction -> int
Public Function IndexOf (value As TriggerAction) As Integer

Parameters

value
TriggerAction

The TriggerAction object to locate in the collection.

Returns

The index of value if the TriggerAction object is found in the collection; otherwise, -1.

Implements

Applies to

See also