ItemsControlAutomationPeer.CreateItemAutomationPeer(Object) Method

Definition

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

ItemAutomationPeer CreateItemAutomationPeer(IInspectable const& item);
public ItemAutomationPeer CreateItemAutomationPeer(object item);
function createItemAutomationPeer(item)
Public Function CreateItemAutomationPeer (item As Object) As ItemAutomationPeer

Parameters

item
Object

IInspectable

The data item that is associated with this ItemAutomationPeer.

Returns

The new ItemAutomationPeer created.

Applies to