Skip to content

UIElement.GetAutomationPeer method

Gets the element’s automation peer, creating it on first use; null when automation is off or the element has none.

public AutomationPeer? GetAutomationPeer()