Method DrawFocusRect
DrawFocusRect(int, int, int, int, Color)
Draws a border around the specified rectangle using dot pattern.
public virtual 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)
Draws a border around the specified rectangle using current BackColor
.
public virtual void DrawFocusRect(Rectangle rect, Color color)