Draws the three-dimensional border for a button control.
[Visual Basic] Overridable Protected Sub Draw3DBorder( _ ByVal g As Graphics, _ ByVal r As Rectangle, _ ByVal width As Integer, _ ByVal raised As Boolean _ ) [C#] protected virtual void Draw3DBorder( Graphics g, Rectangle r, int width, bool raised ); [C++] protected: virtual void Draw3DBorder( Graphics* g, Rectangle r, int width, bool raised ); [JScript] protected function Draw3DBorder( g : Graphics, r : Rectangle, width : int, raised : Boolean );
Notes to Inheritors: When overriding Draw3DBorder in a derived class, be sure to call the base class's Draw3DBorder method.
ButtonBase Class | ButtonBase Members | System.WinForms Namespace | DrawFlatFrame | DrawDefaultBorder