FlexGrid for WinRT
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.
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AutomationPeerFactory Class
AutomationPeerFactory Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.

Product Support Forum  |   Documentation Feedback