ComboBoxAutomationPeer.SetFocusCore Method ()

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: