Delen via


ItemsControlAutomationPeer.OnCreateItemAutomationPeer(Object) Method

Definition

Invoked whenever a new instance of the ItemAutomationPeer is created for a data item in the Items collection of this ItemsControl.

ItemAutomationPeer OnCreateItemAutomationPeer(IInspectable const& item);
protected virtual ItemAutomationPeer OnCreateItemAutomationPeer(object item);
function onCreateItemAutomationPeer(item)
Protected Overridable Function OnCreateItemAutomationPeer (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