ComboBoxAutomationPeer.SetFocusCore Method ()

.NET Framework (current version)
 

Sets the keyboard input focus on the ComboBox control that is associated with this ComboBoxAutomationPeer object. This method is called by SetFocus.

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

protected override void SetFocusCore()

Exception Condition
InvalidOperationException

The ComboBox control that is associated with this ComboBoxAutomationPeer object cannot receive focus.

.NET Framework
Available since 4.0
Return to top
Show: