[]
Creates an instance of AutomationPeer class for given C1 control.
public static AutomationPeer CreateAutomationPeer(object peerOwner, Type ownerType)
| 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)
| 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. |