ComponentOne FinancialChart for WPF
CreateAutomationPeer(Object,Type) Method



C1.WPF Namespace > AutomationPeerFactory Class > CreateAutomationPeer Method : CreateAutomationPeer(Object,Type) Method
Owner control.
Type of the owner control.
Creates an instance of AutomationPeer class for given C1 control.
Syntax
'Declaration
 
Public Overloads Shared Function CreateAutomationPeer( _
   ByVal peerOwner As Object, _
   ByVal ownerType As Type _
) As AutomationPeer
'Usage
 
Dim peerOwner As Object
Dim ownerType As Type
Dim value As AutomationPeer
 
value = AutomationPeerFactory.CreateAutomationPeer(peerOwner, ownerType)
public static AutomationPeer CreateAutomationPeer( 
   object peerOwner,
   Type ownerType
)
public:
static AutomationPeer^ CreateAutomationPeer( 
   Object^ peerOwner,
   Type^ ownerType
) 

Parameters

peerOwner
Owner control.
ownerType
Type of the owner control.

Return Value

The automation peer object.
See Also

Reference

AutomationPeerFactory Class
AutomationPeerFactory Members
Overload List