Skybound VisualStyles

VisualStyleProvider.ShouldShowFocusCues Method 

Returns a value that indiciates whether focus cues should be shown for a specified Control.

[Visual Basic]
Public Shared Function ShouldShowFocusCues( _
   ByVal control As Control _
) As Boolean
[C#]
public static bool ShouldShowFocusCues(
   Control control
);

Parameters

control
The Control to check.

Return Value

True of focus cues should be shown for the specified Control; otherwise, false.

Remarks

This utility method uses reflection on the ShowFocusCues protected member of Control. It is useful for methods that draw controls but are not members of a type that derrives from Control.

See Also

VisualStyleProvider Class | Skybound.VisualStyles Namespace