public AutomationPeer CreateAutomationPeer() { return _selector != null ? UIElementAutomationPeer.CreatePeerForElement(_selector) : null; } }