Calculates the rectangle that is used to draw the focus rectangle.
[Visual Basic] Protected Function GetFocusRect( _ ByVal g As Graphics, _ ByVal r As Rectangle _ ) As Rectangle [C#] protected Rectangle GetFocusRect( Graphics g, Rectangle r ); [C++] protected: Rectangle GetFocusRect( Graphics* g, Rectangle r ); [JScript] protected function GetFocusRect( g : Graphics, r : Rectangle ) : Rectangle;
A Rectangle with the same bounds as the button control.
ButtonBase Class | ButtonBase Members | System.WinForms Namespace | DrawFocus