Export (0) Print
Expand All
Expand Minimize

Control.ShowFocusCues Property

Gets a value indicating whether the control should display focus rectangles.

[Visual Basic]
Protected Overridable ReadOnly Property ShowFocusCues As Boolean
[C#]
protected virtual bool ShowFocusCues {get;}
[C++]
protected: __property virtual bool get_ShowFocusCues();
[JScript]
protected function get ShowFocusCues() : Boolean;

Property Value

true if the control should display focus rectangles; otherwise, false.

Remarks

For more information on this feature, see the WM_CHANGEUISTATE, WM_QUERYUISTATE, and WM_UPDATEUISTATE topics located in the Windows Platform SDK in the MSDN Library.

Notes to Inheritors:  When overriding the ShowFocusCues property in a derived class, use the base class's ShowFocusCues property to extend the base implementation. Otherwise, you must provide all the implementation.

Windows 2000, Windows Server 2003 family Platform Note:  Setting the ShowFocusCues property to true causes controls to conform to the Windows 2000 behavior that hides focus cues until the user performs a keyboard action.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Control Class | Control Members | System.Windows.Forms Namespace | UICues | ChangeUICues | ShowKeyboardCues

Show:
© 2015 Microsoft