NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control.CanFocus

Checks if this control can receive focus. The result is true if the control has a handle and if it and all of its parent controls are both visible and enabled.

[Visual Basic]
Public ReadOnly Property CanFocus As Boolean
[C#]
public bool CanFocus {get;}
[C++]
public: __property bool get_CanFocus();
[JScript]
public function get CanFocus() : Boolean;

Property Value

whether this control can receive focus.

See Also

Control Class | Control Members | System.WinForms Namespace