Control.ShowFocusCues Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected internal virtual bool ShowFocusCues { get; }

Property Value

Type: System.Boolean

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

For more information about this feature, see theWM_CHANGEUISTATE,WM_QUERYUISTATE, and the WM_UPDATEUISTATEtopics.

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.

.NET Framework
Available since 1.1
Return to top