System.Windows.Controls.SelectorSelectionAdapter.CreateAutomationPeer C# (CSharp) Method

CreateAutomationPeer() public method

Returns an automation peer for the underlying T:System.Windows.Controls.Primitives.Selector control, for use by the Silverlight automation infrastructure.
public CreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
return System.Windows.Automation.Peers.AutomationPeer
        public AutomationPeer CreateAutomationPeer()
        {
            return _selector != null ? UIElementAutomationPeer.CreatePeerForElement(_selector) : null;
        }
    }