Method DrawFocusRect
DrawFocusRect(int, int, int, int, Color)
When implemented by a class, draws a border around the specified rectangle using dot pattern.
void DrawFocusRect(int x, int y, int width, int height, Color color)
Parameters
x
intX-coordinate of the upper-left corner of the rectangle.
y
intY-coordinate of the upper-left corner of the rectangle.
width
intWidth of the rectangle.
height
intHeight of the rectangle.
color
ColorColor of the frame.
DrawFocusRect(Rectangle, Color)
When implemented by a class, draws a border around the specified rectangle using current BackColor
.
void DrawFocusRect(Rectangle rect, Color color)