System.Windows.Forms.ControlPaint.DrawLockedFrame Method

Draws a locked selection frame on the screen within the specified bounds and on the specified graphics surface. Specifies whether to draw the frame with the primary selected colors.

Syntax

public static void DrawLockedFrame (System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, bool primary)

Parameters

graphics
The System.Drawing.Graphics to draw on.
rectangle
The System.Drawing.Rectangle that represents the dimensions of the frame.
primary
true to draw this frame with the colors used for the primary selection; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0