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;
whether this control can receive focus.