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.
Assembly: System.Windows (in System.Windows.dll)
'Declaration Protected Sub New ( _ item As Object, _ itemsControlAutomationPeer As 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.
Show: