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.


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.

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

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.