FocusServices Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides static attached properties that can be set on WPF controls to customize their behavior.

System.Object
  Microsoft.TeamFoundation.Controls.WPF.FocusServices

Namespace:  Microsoft.TeamFoundation.Controls.WPF
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

public static class FocusServices

The FocusServices type exposes the following members.

  NameDescription
Public methodStatic memberEnableGlobalSelectAllOnFocusEnables the automatic selection of text box text on focus for the whole WPF application. An alternative to this is to use the
Public methodStatic memberGetSelectAllTextOnFocus
Public methodStatic memberSetSelectAllTextOnFocus
Top

  NameDescription
Public fieldStatic memberSelectAllTextOnFocusPropertyIf set to true on a container, all of the descendant text boxes will have their text auto-selected when they gain keyboard focus.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft