[]
Paints the cell with the focus indicator using the specified control and dimensions.
public void Paint(Graphics g, int x, int y, int width, int height, bool left, bool top, bool right, bool bottom)
Public Sub Paint(g As Graphics, x As Integer, y As Integer, width As Integer, height As Integer, left As Boolean, top As Boolean, right As Boolean, bottom As Boolean)
Type | Name | Description |
---|---|---|
Graphics | g | Graphics device interface for painting the cell |
int | x | X-coordinate |
int | y | Y-coordinate |
int | width | Width, in pixels |
int | height | Height, in pixels |
bool | left | Whether to paint the left side of the focus indicator |
bool | top | Whether to paint the top of the focus indicator |
bool | right | Whether to paint the right side of the focus indicator |
bool | bottom | Whether to paint the bottom of the focus indicator |