Draws a focus rectangle. A focus rectangle is a dotted rectangle that Windows uses to indicate what control has the current keyboard focus.
[Visual Basic] Overloads Public Shared Sub DrawFocusRectangle( _ ByVal g As Graphics, _ ByVal r As Rectangle, _ ByVal foreColor As Color, _ ByVal backColor As Color _ ) [C#] public static void DrawFocusRectangle( Graphics g, Rectangle r, Color foreColor, Color backColor ); [C++] public: static void DrawFocusRectangle( Graphics* g, Rectangle r, Color foreColor, Color backColor ); [JScript] public static function DrawFocusRectangle( g : Graphics, r : Rectangle, foreColor : Color, backColor : Color );
ControlPaint Class | ControlPaint Members | System.WinForms Namespace | ControlPaint.DrawFocusRectangle Overload List