RibbonComboBoxAutomationPeer.SetFocusCore Method ()

.NET Framework (current version)
 

Sets the keyboard focus on the RibbonComboBox that is associated with this RibbonComboBoxAutomationPeer. This method is called by SetFocus.

Namespace:   System.Windows.Automation.Peers
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

protected override void SetFocusCore()

Exception Condition
InvalidOperationException

The RibbonComboBox that is associated with this RibbonComboBoxAutomationPeer did not get focus.

.NET Framework
Available since 4.5
Return to top
Show: