In The Hand LtdIn The Hand
ControlPaint Class
NamespacesInTheHand.Windows.FormsControlPaint
.NET Components for Mobility
Provides methods used to paint common Windows controls and their elements.
Declaration Syntax
C#Visual Basic
public static class ControlPaint
Public NotInheritable Class ControlPaint
Members
All MembersMethods



IconMemberDescription
Dark(Color)
Creates a new dark color object for the control from the specified color.

Dark(Color, Single)
Creates a new dark color object for the control from the specified color and darkens it by the specified percentage.

DarkDark(Color)
Creates a new dark color object for the control from the specified color.

DrawButton(Graphics, Rectangle, ButtonState)
Draws a button control in the specified state, on the specified graphics surface, and within the specified bounds.

DrawCaptionButton(Graphics, Rectangle, CaptionButton, ButtonState)
Draws a caption button control.

DrawCheckBox(Graphics, Rectangle, ButtonState)
Draws a check box control.

DrawFocusRectangle(Graphics, Rectangle)
Draws a focus rectangle on the specified graphics surface and within the specified bounds.

DrawRadioButton(Graphics, Rectangle, ButtonState)
Draws a radio button control.

DrawScrollButton(Graphics, Rectangle, ScrollButton, ButtonState)
Draws a scroll button on a scroll bar control.

Light(Color)
Creates a new light color object for the control from the specified color.

Light(Color, Single)
Creates a new light color object for the control from the specified color and lightens it by the specified percentage.

LightLight(Color)
Creates a new light color object for the control from the specified color.

Remarks

Equivalent to System.Windows.Forms.ControlPaint

The methods contained in the ControlPaint class enable you to draw your own controls or elements of controls.
Inheritance Hierarchy
Object
ControlPaint

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