Table of Contents

Method DrawFocusRect

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

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 int

X-coordinate of the upper-left corner of the rectangle.

y int

Y-coordinate of the upper-left corner of the rectangle.

width int

Width of the rectangle.

height int

Height of the rectangle.

color Color

Color of the frame.

DrawFocusRect(Rectangle, Color)

Draws a border around the specified rectangle using current BackColor.

public virtual void DrawFocusRect(Rectangle rect, Color color)

Parameters

rect Rectangle

The rectangle object to draw border.

color Color

Color of the frame.