| C1.Silverlight Namespace > AutomationPeerFactory Class > CreateAutomationPeer Method : CreateAutomationPeer(Object,Type,Control) Method |
'DeclarationPublic Overloads Shared Function CreateAutomationPeer( _ ByVal peerOwner As System.Object, _ ByVal ownerType As System.Type, _ ByVal owningSelectorControl As System.Windows.Controls.Control _ ) As System.Windows.Automation.Peers.AutomationPeer
'UsageDim peerOwner As System.Object Dim ownerType As System.Type Dim owningSelectorControl As System.Windows.Controls.Control Dim value As System.Windows.Automation.Peers.AutomationPeer value = AutomationPeerFactory.CreateAutomationPeer(peerOwner, ownerType, owningSelectorControl)
public static System.Windows.Automation.Peers.AutomationPeer CreateAutomationPeer( System.object peerOwner, System.Type ownerType, System.Windows.Controls.Control owningSelectorControl )
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