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

OnCreateAutomationPeer() protected method

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