Draws a rectangular frame on the given graphics. The operation of this can be "reversed" by drawing the same rectangle again. This is similar to inverting a region of the screen except that it behaves better for a wider variety of colors.
[Visual Basic] Public Shared Sub DrawReversibleFrame( _ ByVal rectangle As Rectangle, _ ByVal backColor As Color, _ ByVal style As FrameStyle _ ) [C#] public static void DrawReversibleFrame( Rectangle rectangle, Color backColor, FrameStyle style ); [C++] public: static void DrawReversibleFrame( Rectangle rectangle, Color backColor, FrameStyle style ); [JScript] public static function DrawReversibleFrame( rectangle : Rectangle, backColor : Color, style : FrameStyle );
ControlPaint Class | ControlPaint Members | System.WinForms Namespace | FrameStyle