In The Hand LtdIn The Hand
DrawFocusRectangle Method (graphics, rectangle)
NamespacesInTheHand.Windows.FormsControlPaintDrawFocusRectangle(Graphics, Rectangle)
.NET Components for Mobility
Draws a focus rectangle on the specified graphics surface and within the specified bounds.
Declaration Syntax
C#Visual Basic
public static void DrawFocusRectangle(
	Graphics graphics,
	Rectangle rectangle
)
Public Shared Sub DrawFocusRectangle ( _
	graphics As Graphics, _
	rectangle As Rectangle _
)
Parameters
graphics (Graphics)
The Graphics to draw on.
rectangle (Rectangle)
The Rectangle that represents the dimensions of the grab handle glyph.
Remarks
A focus rectangle is a dotted rectangle that Windows uses to indicate what control has the current keyboard focus. On Windows Mobile this is drawn in the color specified by the current device theme.

Assembly: InTheHand.Windows.Forms (Module: InTheHand.Windows.Forms) Version: 7.0.0.0