ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / AutomationPeerFactory Class / CreateAutomationPeer Method / CreateAutomationPeer(Object,Type,Control) Method
Owner control.
Type of the owner control.
Reference to the owning Selector control. It's required if AutomationPeer is inherited from the SelectorItemAutomationPeer.

In This Topic
    CreateAutomationPeer(Object,Type,Control) 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, _
       ByVal owningSelectorControl As Windows.UI.Xaml.Controls.Control _
    ) As Windows.UI.Xaml.Automation.Peers.AutomationPeer
    public static Windows.UI.Xaml.Automation.Peers.AutomationPeer CreateAutomationPeer( 
       System.object peerOwner,
       System.Type ownerType,
       Windows.UI.Xaml.Controls.Control owningSelectorControl
    )

    Parameters

    peerOwner
    Owner control.
    ownerType
    Type of the owner control.
    owningSelectorControl
    Reference to the owning Selector control. It's required if AutomationPeer is inherited from the SelectorItemAutomationPeer.

    Return Value

    The automation peer object.
    See Also