IInputElement::IsKeyboardFocused Property

 
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.

Gets a value that indicates whether this element has keyboard focus.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

property bool IsKeyboardFocused {
	bool get();
}

Property Value

Type: System::Boolean

true if this element has keyboard focus; otherwise, false.

This interface is not intended for public implementation. For more information, see remarks for the IInputElement interface.

Existing implementations in the Windows Presentation Foundation (WPF) core (see ContentElement::IsKeyboardFocused and UIElement::IsKeyboardFocused) establish this property as a dependency property.

.NET Framework
Available since 3.0
Return to top
Show: