FocusManager Members

Provides a set of static methods, attached properties, and events for determining and setting focus scopes and for setting the focused element within the scope.

The FocusManager type exposes the following members.

  NameDescription
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 SetFocusedElement Sets logical focus on the specified element.
Public method Static member SetIsFocusScope Sets the specified DependencyObject as a focus scope.
Top

  NameDescription
Public field Static member FocusedElementProperty Identifies the FocusedElement attached property.
Public field Static member GotFocusEvent Identifies the GotFocus RoutedEvent.
Public field Static member IsFocusScopeProperty Identifies the IsFocusScope attached property.
Public field Static member LostFocusEvent Identifies the LostFocus RoutedEvent.
Top

  NameDescription
Public attached property FocusedElement Determines whether the element this property is attached to has logical focus.
Public attached property IsFocusScope Determines whether the element this property is attached to is a focus scope.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft