TriggerCollection.IndexOf method

Applies to Windows and Windows Phone

Determines the index of a specific item in the collection.

Syntax


public int IndexOf(
  TriggerBase item
)

Parameters

item

Type: TriggerBase

The object to locate in the collection.

Return value

Type: System.Int32

The index of item if found in the collection; otherwise, –1.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml

See also

TriggerCollection

 

 

Show:
© 2014 Microsoft