[]
Paints the cell.
public static void DoPaint(Graphics g, Rectangle r, Color backColor, Color foreColor, Font font, Color c, string caption, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, ColorPickerStyle style, UnknownTextStyle textStyle, string unknownText, bool rightToLeft, int boxWidth)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, backColor As Color, foreColor As Color, font As Font, c As Color, caption As String, horizontalAlignment As HorizontalAlignment, verticalAlignment As VerticalAlignment, style As ColorPickerStyle, textStyle As UnknownTextStyle, unknownText As String, rightToLeft As Boolean, boxWidth As Integer)
Type | Name | Description |
---|---|---|
Graphics | g | Graphics device interface for painting the cell |
Rectangle | r | Location and size of a rectangular region |
Color | backColor | Background color |
Color | foreColor | Text (foreground) color |
Font | font | Font |
Color | c | Color |
string | caption | Caption text |
HorizontalAlignment | horizontalAlignment | Horizontal alignment |
VerticalAlignment | verticalAlignment | Vertical alignment |
ColorPickerStyle | style | Style |
UnknownTextStyle | textStyle | Text Style |
string | unknownText | Text for unknown color |
bool | rightToLeft | Whether right to left orientation |
int | boxWidth | Width of the box in pixels |
Paints the cell.
public static void DoPaint(Graphics g, Rectangle r, Color backColor, Color foreColor, Font font, Color c, string caption, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, ColorPickerStyle style, UnknownTextStyle textStyle, string unknownText, bool rightToLeft, int boxWidth, float zoomFactor)
Public Shared Sub DoPaint(g As Graphics, r As Rectangle, backColor As Color, foreColor As Color, font As Font, c As Color, caption As String, horizontalAlignment As HorizontalAlignment, verticalAlignment As VerticalAlignment, style As ColorPickerStyle, textStyle As UnknownTextStyle, unknownText As String, rightToLeft As Boolean, boxWidth As Integer, zoomFactor As Single)
Type | Name | Description |
---|---|---|
Graphics | g | Graphics device interface for painting the cell |
Rectangle | r | Location and size of a rectangular region |
Color | backColor | Background color |
Color | foreColor | Text (foreground) color |
Font | font | Font |
Color | c | Color |
string | caption | Caption text |
HorizontalAlignment | horizontalAlignment | Horizontal alignment |
VerticalAlignment | verticalAlignment | Vertical alignment |
ColorPickerStyle | style | Style |
UnknownTextStyle | textStyle | Text Style |
string | unknownText | Text for unknown color |
bool | rightToLeft | Whether right to left orientation |
int | boxWidth | Width of the box in pixels |
float | zoomFactor | The zoom factor. |