NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ButtonBase.DrawFocus

Draws the focus rectangle if the control has focus.

[Visual Basic]
Protected Sub DrawFocus( _
   ByVal g As Graphics, _
   ByVal r As Rectangle _
)
[C#]
protected void DrawFocus(
   Graphics g,
   Rectangle r
);
[C++]
protected: void DrawFocus(
   Graphics* g,
   Rectangle r
);
[JScript]
protected function DrawFocus(
   g : Graphics,
   r : Rectangle
);

Parameters

g
The Graphics surface to draw on.
r
The Rectangle bounds to draw within.

See Also

ButtonBase Class | ButtonBase Members | System.WinForms Namespace | GetFocusRect