LabeledTextBox.FocusTextBox Method
Attempt to set the focus on the text box.
Namespace: Microsoft.TeamFoundation.Controls.WPF
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Function FocusTextBox As Boolean
public bool FocusTextBox()
public:
bool FocusTextBox()
member FocusTextBox : unit -> bool
public function FocusTextBox() : boolean
Return Value
Type: System.Boolean
true if keyboard and logical focus were set to text box.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.