Draws a border of the specified style and color to the given graphics.
[Visual Basic] Overloads Public Shared Sub DrawBorder( _ ByVal g As Graphics, _ ByVal bounds As Rectangle, _ ByVal leftColor As Color, _ ByVal leftWidth As Integer, _ ByVal leftStyle As ButtonBorderStyle, _ ByVal topColor As Color, _ ByVal topWidth As Integer, _ ByVal topStyle As ButtonBorderStyle, _ ByVal rightColor As Color, _ ByVal rightWidth As Integer, _ ByVal rightStyle As ButtonBorderStyle, _ ByVal bottomColor As Color, _ ByVal bottomWidth As Integer, _ ByVal bottomStyle As ButtonBorderStyle _ ) [C#] public static void DrawBorder( Graphics g, Rectangle bounds, Color leftColor, int leftWidth, ButtonBorderStyle leftStyle, Color topColor, int topWidth, ButtonBorderStyle topStyle, Color rightColor, int rightWidth, ButtonBorderStyle rightStyle, Color bottomColor, int bottomWidth, ButtonBorderStyle bottomStyle ); [C++] public: static void DrawBorder( Graphics* g, Rectangle bounds, Color leftColor, int leftWidth, ButtonBorderStyle leftStyle, Color topColor, int topWidth, ButtonBorderStyle topStyle, Color rightColor, int rightWidth, ButtonBorderStyle rightStyle, Color bottomColor, int bottomWidth, ButtonBorderStyle bottomStyle ); [JScript] public static function DrawBorder( g : Graphics, bounds : Rectangle, leftColor : Color, leftWidth : int, leftStyle : ButtonBorderStyle, topColor : Color, topWidth : int, topStyle : ButtonBorderStyle, rightColor : Color, rightWidth : int, rightStyle : ButtonBorderStyle, bottomColor : Color, bottomWidth : int, bottomStyle : ButtonBorderStyle );
ControlPaint Class | ControlPaint Members | System.WinForms Namespace | ControlPaint.DrawBorder Overload List | ButtonBorderStyle