'Declaration Public Overloads Shared Function DrawBorder( _ ByVal g As System.Drawing.Graphics, _ ByVal r As System.Drawing.Rectangle, _ ByVal borderStyle As System.Windows.Forms.BorderStyle, _ ByVal borderColor As System.Drawing.Color _ ) As System.Boolean
public static System.bool DrawBorder( System.Drawing.Graphics g, System.Drawing.Rectangle r, System.Windows.Forms.BorderStyle borderStyle, System.Drawing.Color borderColor )
Parameters
- g
- A System.Drawing.Graphics object.
- r
- Cell border rectangle.
- borderStyle
- The border style.
- borderColor
- The border color.
Return Value
Whether the border needs to be painted.