FocusManager Methods

 
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.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAddGotFocusHandler(DependencyObject, RoutedEventHandler)

Adds a handler for the GotFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticAddLostFocusHandler(DependencyObject, RoutedEventHandler)

Adds a handler for the LostFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticGetFocusedElement(DependencyObject)

Gets the element with logical focus within the specified focus scope.

System_CAPS_pubmethodSystem_CAPS_staticGetFocusScope(DependencyObject)

Determines the closest ancestor of the specified element that has IsFocusScope set to true.

System_CAPS_pubmethodSystem_CAPS_staticGetIsFocusScope(DependencyObject)

Determines whether the specified DependencyObject is a focus scope.

System_CAPS_pubmethodSystem_CAPS_staticRemoveGotFocusHandler(DependencyObject, RoutedEventHandler)

Removes a handler for the GotFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticRemoveLostFocusHandler(DependencyObject, RoutedEventHandler)

Removes a handler for the LostFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticSetFocusedElement(DependencyObject, IInputElement)

Sets logical focus on the specified element.

System_CAPS_pubmethodSystem_CAPS_staticSetIsFocusScope(DependencyObject, Boolean)

Sets the specified DependencyObject as a focus scope.

Return to top
Show: