Draws a button control face, including the text, image or both.
[Visual Basic] Protected Sub DrawFace( _ ByVal g As Graphics, _ ByVal r As Rectangle _ ) [C#] protected void DrawFace( Graphics g, Rectangle r ); [C++] protected: void DrawFace( Graphics* g, Rectangle r ); [JScript] protected function DrawFace( g : Graphics, r : Rectangle );
If the button has an image assigned to it, the image is drawn on the face of the control. If the Enabled property is set to false, the button's face will be drawn greyed out.
ButtonBase Class | ButtonBase Members | System.WinForms Namespace | DrawImage | DrawBackground