Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
ControlPaint Class
 ControlPaint Members
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
ControlPaint Members

Provides methods used to paint common Windows controls and their elements. This class cannot be inherited.

The ControlPaint type exposes the following members.

  NameDescription
Public methodStatic memberCreateHBitmap16BitCreates a 16-bit color bitmap.
Public methodStatic memberCreateHBitmapColorMaskCreates a Win32 HBITMAP out of the image.
Public methodStatic memberCreateHBitmapTransparencyMaskCreates a color mask for the specified bitmap that indicates which color should be displayed as transparent.
Public methodStatic memberDarkOverloaded. Creates a new dark color object for the control.
Public methodStatic memberDarkDarkCreates a new dark color object for the control from the specified color.
Public methodStatic memberDrawBorderOverloaded. Draws a border on a button-style control.
Public methodStatic memberDrawBorder3DOverloaded. Draws a three-dimensional style border on a control.
Public methodStatic memberDrawButtonOverloaded. Draws a button control.
Public methodStatic memberDrawCaptionButtonOverloaded. Draws a caption button control.
Public methodStatic memberDrawCheckBoxOverloaded. Draws a check box control.
Public methodStatic memberDrawComboButtonOverloaded. Draws a drop-down button on a combo box control.
Public methodStatic memberDrawContainerGrabHandleDraws a container control grab handle glyph on the specified graphics surface and within the specified bounds.
Public methodStatic memberDrawFocusRectangleOverloaded. Draws a focus rectangle.
Public methodStatic memberDrawGrabHandleDraws a standard selection grab handle glyph on the specified graphics surface, within the specified bounds, and in the specified state and style.
Public methodStatic memberDrawGridDraws a grid of one-pixel dots with the specified spacing, within the specified bounds, on the specified graphics surface, and in the specified color.
Public methodStatic memberDrawImageDisabledDraws the specified image in a disabled state.
Public methodStatic memberDrawLockedFrameDraws 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.
Public methodStatic memberDrawMenuGlyphOverloaded. Draws a menu glyph on a menu item control.
Public methodStatic memberDrawMixedCheckBoxOverloaded. Draws a three-state check box control.
Public methodStatic memberDrawRadioButtonOverloaded. Draws a radio button control.
Public methodStatic memberDrawReversibleFrameDraws a reversible frame on the screen within the specified bounds, with the specified background color, and in the specified state.
Public methodStatic memberDrawReversibleLineDraws a reversible line on the screen within the specified starting and ending points and with the specified background color.
Public methodStatic memberDrawScrollButtonOverloaded. Draws a scroll button on a scroll bar control.
Public methodStatic memberDrawSelectionFrameDraws a standard selection frame in the specified state, on the specified graphics surface, with the specified inner and outer dimensions, and with the specified background color.
Public methodStatic memberDrawSizeGripOverloaded. Draws a size grip on a form.
Public methodStatic memberDrawStringDisabledOverloaded. Draws the specified string in a disabled state.
Public methodStatic memberDrawVisualStyleBorderDraws a border in the style appropriate for disabled items.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodStatic memberFillReversibleRectangleDraws a filled, reversible rectangle on the screen.
Protected methodFinalizeAllows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberLightOverloaded. Creates a new light color object for the control.
Public methodStatic memberLightLightCreates a new light color object for the control from the specified color.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a String that represents the current Object. (Inherited from Object.)
Top
  NameDescription
Public propertyStatic memberContrastControlDarkGets the color to use as the ControlDark color.
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker