Table of Contents

Method DrawFocusRect

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

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 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)

When implemented by a class, draws a border around the specified rectangle using current BackColor.

void DrawFocusRect(Rectangle rect, Color color)

Parameters

rect Rectangle

The rectangle object to draw border.

color Color

Color of the frame.