Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides static attached properties that can be set on WPF controls to customize their behavior.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Controls.WPF.FocusServices
Namespace: Microsoft.TeamFoundation.Controls.WPF
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public NotInheritable Class FocusServices
public static class FocusServices
public ref class FocusServices abstract sealed
[<AbstractClass>]
[<Sealed>]
type FocusServices = class end
public final class FocusServices
The FocusServices type exposes the following members.
Attached Properties
Name | Description | |
---|---|---|
![]() |
SelectAllTextOnFocus |
Top
Methods
Name | Description | |
---|---|---|
![]() ![]() |
EnableGlobalSelectAllOnFocus | Enables the automatic selection of text box text on focus for the whole WPF application. An alternative to this is to use the |
![]() ![]() |
GetSelectAllTextOnFocus | |
![]() ![]() |
SetSelectAllTextOnFocus |
Top
Fields
Name | Description | |
---|---|---|
![]() ![]() |
SelectAllTextOnFocusProperty | If set to true on a container, all of the descendant text boxes will have their text auto-selected when they gain keyboard focus. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.