FocusManager Methods

The FocusManager type exposes the following members.

  Name Description
Public method Static member AddGotFocusHandler Adds a handler for the GotFocus attached event.
Public method Static member AddLostFocusHandler Adds a handler for the LostFocus attached event.
Public method Static member GetFocusedElement Gets the element with logical focus within the specified focus scope.
Public method Static member GetFocusScope Determines the closest ancestor of the specified element that has IsFocusScope set to true.
Public method Static member GetIsFocusScope Determines whether the specified DependencyObject is a focus scope.
Public method Static member RemoveGotFocusHandler Removes a handler for the GotFocus attached event.
Public method Static member RemoveLostFocusHandler Removes a handler for the LostFocus attached event.
Public method Static member SetFocusedElement Sets logical focus on the specified element.
Public method Static member SetIsFocusScope Sets the specified DependencyObject as a focus scope.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft