ItemAutomationPeer Constructor (Object, ItemsControlAutomationPeer)
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Provides initialization for base class values when called by the constructor of a derived class.
Namespace: System.Windows.Automation.Peers
Assembly: System.Windows (in System.Windows.dll)
Syntax
Protected Sub New ( _
item As Object, _
itemsControlAutomationPeer As ItemsControlAutomationPeer _
)
protected ItemAutomationPeer(
Object item,
ItemsControlAutomationPeer itemsControlAutomationPeer
)
Parameters
- item
Type: System..::.Object
The data item in the Items collection that is associated with this ItemAutomationPeer.
- itemsControlAutomationPeer
Type: System.Windows.Automation.Peers..::.ItemsControlAutomationPeer
The ItemsControlAutomationPeer that is associated with the ItemsControl that holds the Items collection.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone