FromElement Method

UIElementAutomationPeer.FromElement Method (UIElement)

 

Gets the UIElementAutomationPeer for the specified UIElement.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationCore (in PresentationCore.dll)

public static AutomationPeer FromElement(
	UIElement element
)

Parameters

element
Type: System.Windows.UIElement

The UIElement that is associated with this UIElementAutomationPeer.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft