Draws a standard selection frame. A selection frame is a frame that is drawn around a selected component at design time.
[Visual Basic] Public Shared Sub DrawSelectionFrame( _ ByVal g As Graphics, _ ByVal active As Boolean, _ ByVal outsideRect As Rectangle, _ ByVal insideRect As Rectangle, _ ByVal backColor As Color _ ) [C#] public static void DrawSelectionFrame( Graphics g, bool active, Rectangle outsideRect, Rectangle insideRect, Color backColor ); [C++] public: static void DrawSelectionFrame( Graphics* g, bool active, Rectangle outsideRect, Rectangle insideRect, Color backColor ); [JScript] public static function DrawSelectionFrame( g : Graphics, active : Boolean, outsideRect : Rectangle, insideRect : Rectangle, backColor : Color );
ControlPaint Class | ControlPaint Members | System.WinForms Namespace