[]
Creates an instance of AutomationPeer class for given C1 control.
public static AutomationPeer CreateAutomationPeer(object peerOwner, Type ownerType)
Public Shared Function CreateAutomationPeer(peerOwner As Object, ownerType As Type) As AutomationPeer
| Type | Name | Description |
|---|---|---|
| object | peerOwner | Owner control. |
| Type | ownerType | Type of the owner control. |
| Type | Description |
|---|---|
| AutomationPeer | The automation peer object. |
Creates an instance of AutomationPeer class for given C1 control.
public static AutomationPeer CreateAutomationPeer(object peerOwner, Type ownerType, Control owningSelectorControl)
Public Shared Function CreateAutomationPeer(peerOwner As Object, ownerType As Type, owningSelectorControl As Control) As AutomationPeer
| Type | Name | Description |
|---|---|---|
| object | peerOwner | Owner control. |
| Type | ownerType | Type of the owner control. |
| Control | owningSelectorControl | Reference to the owning Selector control. It's required if AutomationPeer is inherited from the SelectorItemAutomationPeer. |
| Type | Description |
|---|---|
| AutomationPeer | The automation peer object. |