UIElementCollection.Contains method

Determines whether an element is in the collection.

Syntax


public bool Contains(
  UIElement item
)

Parameters

item

Type: UIElement

The item to find in the collection.

Return value

Type: System.Boolean

true if the item was found in the collection; otherwise, false.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls

See also

UIElementCollection

 

 

Build date: 3/12/2013

Show:
© 2014 Microsoft