Microsoft.Windows.Controls.Ribbon.RibbonTextBox.OnCreateAutomationPeer C# (CSharp) Method

OnCreateAutomationPeer() protected method

Get AutomationPeer for RibbonTextBox control
protected OnCreateAutomationPeer ( ) : System.Windows.Automation.Peers.AutomationPeer
return System.Windows.Automation.Peers.AutomationPeer
        protected override AutomationPeer OnCreateAutomationPeer()
        {
            return new RibbonTextBoxAutomationPeer(this);
        }