This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
ControlPaint Methods
The methods of the ControlPaint class are listed below. For a complete list of ControlPaint class members, see the ControlPaint Members topic.
Public:
CreateHBITMAP16Bit |
[To be supplied.] |
CreateHBITMAPColorMask |
Creates a Win32 HBITMAP out of the image. You are responsible for de-allocating the HBITMAP with Windows.DeleteObject(handle). If the image uses transparency, the background will be filled with the specified color. |
CreateHBITMAPTransparencyMask |
Creates a Win32 HBITMAP out of the image. You are responsible for de-allocating the HBITMAP with Windows.DeleteObject(handle). If the image uses transparency, the background will be filled with the specified color. |
Dark |
Overloaded. [To be supplied.] |
DarkDark |
Creates a new color that is a object of the given color. |
DrawBorder |
Overloaded. [To be supplied.] |
DrawBorder3D |
Overloaded. [To be supplied.] |
DrawButton |
Overloaded. [To be supplied.] |
DrawCaptionButton |
Overloaded. [To be supplied.] |
DrawCheckBox |
Overloaded. [To be supplied.] |
DrawComboButton |
Overloaded. [To be supplied.] |
DrawContainerGrabHandle |
Draws a container control grab handle glyph inside the given rectangle. |
DrawFocusRectangle |
Overloaded. [To be supplied.] |
DrawGrabHandle |
Draws a standard selection grab handle with the given dimensions. Grab handles are used by components to indicate to the user that they can be directly maniupulated. |
DrawGrid |
Draws a grid of one pixel dots in the given rectangle. |
DrawImageDisabled |
Draws an image and makes it look disabled. |
DrawLockedFrame |
Draws a locked selection frame around the given rectangle. |
DrawMenuGlyph |
Overloaded. [To be supplied.] |
DrawRadioButton |
Overloaded. [To be supplied.] |
DrawReversibleFrame |
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. |
DrawReversibleLine |
Draws a reversible line on the given graphics. A reversible line can be erased by just drawing over it again. |
DrawScrollButton |
Overloaded. [To be supplied.] |
DrawSelectionFrame |
Draws a standard selection frame. A selection frame is a frame that is drawn around a selected component at design time. |
DrawSizeGrip |
Overloaded. [To be supplied.] |
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
FillReversibleRectangle |
Draws a filled rectangle 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. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) |
Gets the Type of the Object. |
Light |
Overloaded. [To be supplied.] |
LightLight |
Creates a new color that is a object of the given color. |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
ControlPaint Class | System.WinForms Namespace