ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / AutomationPeerFactory Class / CreateAutomationPeer Method / CreateAutomationPeer(Object,Type) Method
Owner control.
Type of the owner control.

In This Topic
    CreateAutomationPeer(Object,Type) Method
    In This Topic
    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