ItemsControlAutomationPeer.CreateItemAutomationPeer method

Applies to Windows Phone only

Creates a new instance of the ItemAutomationPeer for a data item in the Items collection of this ItemsControl.

Syntax


public ItemAutomationPeer CreateItemAutomationPeer(
  object item
)

Parameters

item

Type: System.Object [.NET] | Platform::Object [C++]

The data item that is associated with this ItemAutomationPeer.

Return value

Type: ItemAutomationPeer

The new ItemAutomationPeer created.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation.Peers
Windows::UI::Xaml::Automation::Peers [C++]

Metadata

Windows.winmd

See also

ItemsControlAutomationPeer

 

 

Show:
© 2014 Microsoft