'Declaration
Public Overloads Shared Function CreateAutomationPeer( _ ByVal peerOwner As Object, _ ByVal ownerType As Type, _ ByVal owningSelectorControl As Control _ ) As AutomationPeer
'Usage
Dim peerOwner As Object Dim ownerType As Type Dim owningSelectorControl As Control Dim value As AutomationPeer value = AutomationPeerFactory.CreateAutomationPeer(peerOwner, ownerType, owningSelectorControl)
public static AutomationPeer CreateAutomationPeer( object peerOwner, Type ownerType, Control owningSelectorControl )
public: static AutomationPeer^ CreateAutomationPeer( Object^ peerOwner, Type^ ownerType, Control^ owningSelectorControl )
Parameters
- peerOwner
- Owner control.
- ownerType
- Type of the owner control.
- owningSelectorControl
- Reference to the owning Selector control. It's required if AutomationPeer is inherited from the SelectorItemAutomationPeer.
Return Value
The automation peer object.