ComponentOne Basic Library for UWP
CreateAutomationPeer(Object,Type) Method

C1.UWP Assembly > C1.Xaml 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 System.Object, _
   ByVal ownerType As System.Type _
) As Windows.UI.Xaml.Automation.Peers.AutomationPeer
public static Windows.UI.Xaml.Automation.Peers.AutomationPeer CreateAutomationPeer( 
   System.object peerOwner,
   System.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