This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Control.Focus
Attempts to set focus to this control.
[Visual Basic]
Public Function Focus() As Boolean
[C#]
public bool Focus();
[C++]
public: bool Focus();
[JScript]
public function Focus() : Boolean;
Return Value
true if the focus request was successfull.
See Also
Control Class | Control Members | System.WinForms Namespace