ItemsControlAutomationPeer.OnCreateItemAutomationPeer(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.