Draws the dark border around the button control to indicate that the button is the default button.
[Visual Basic] Protected Function DrawDefaultBorder( _ ByVal g As Graphics, _ ByVal r As Rectangle _ ) As Rectangle [C#] protected Rectangle DrawDefaultBorder( Graphics g, Rectangle r ); [C++] protected: Rectangle DrawDefaultBorder( Graphics* g, Rectangle r ); [JScript] protected function DrawDefaultBorder( g : Graphics, r : Rectangle ) : Rectangle;
A Rectangle with the same bounds as the button control.
ButtonBase Class | ButtonBase Members | System.WinForms Namespace | Draw3DBorder | DrawFlatFrame