IInputElement::Focusable Property


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

Gets or sets a value that indicates whether focus can be set to this element.

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

property bool Focusable {
	bool get();
	void set(bool value);

Property Value

Type: System::Boolean

true if the element can have focus set to it; 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::Focusable and UIElement::Focusable) establish this property as a dependency property.

.NET Framework
Available since 3.0
Return to top