Share via


LabeledTextBox.FocusTextBox Method

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

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

See Also

Reference

LabeledTextBox Class

Microsoft.TeamFoundation.Controls.WPF Namespace