Export (0) Print
Expand All

UIElementAutomationPeer.FromElement Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft