Skybound VisualStyles

VisualStyleProvider.ShouldShowKeyboardCues Method 

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

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

Parameters

control
The Control to check.

Return Value

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

Remarks

This utility method uses reflection on the ShowKeyboardCues 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