ControlPaint
ContrastControlDark
CreateHBitmap16Bit(Bitmap, Color)
CreateHBitmapColorMask(Bitmap, IntPtr)
CreateHBitmapTransparencyMask(Bitmap)
Dark(Color)
Dark(Color, Single)
DarkDark(Color)
DrawBorder(Graphics, Rectangle, Color, ButtonBorderStyle)
DrawBorder(Graphics, Rectangle, Color, Int32, ButtonBorderStyle, Color, Int32, ButtonBorderStyle, Color, Int32, ButtonBorderStyle, Color, Int32, ButtonBorderStyle)
DrawBorder3D(Graphics, Rectangle)
DrawBorder3D(Graphics, Rectangle, Border3DStyle)
DrawBorder3D(Graphics, Rectangle, Border3DStyle, Border3DSide)
DrawBorder3D(Graphics, Int32, Int32, Int32, Int32)
DrawBorder3D(Graphics, Int32, Int32, Int32, Int32, Border3DStyle)
DrawBorder3D(Graphics, Int32, Int32, Int32, Int32, Border3DStyle, Border3DSide)
DrawButton(Graphics, Rectangle, ButtonState)
DrawButton(Graphics, Int32, Int32, Int32, Int32, ButtonState)
DrawCaptionButton(Graphics, Rectangle, CaptionButton, ButtonState)
DrawCaptionButton(Graphics, Int32, Int32, Int32, Int32, CaptionButton, ButtonState)
DrawCheckBox(Graphics, Rectangle, ButtonState)
DrawCheckBox(Graphics, Int32, Int32, Int32, Int32, ButtonState)
DrawComboButton(Graphics, Rectangle, ButtonState)
DrawComboButton(Graphics, Int32, Int32, Int32, Int32, ButtonState)
DrawContainerGrabHandle(Graphics, Rectangle)
DrawFocusRectangle(Graphics, Rectangle)
DrawFocusRectangle(Graphics, Rectangle, Color, Color)
DrawGrabHandle(Graphics, Rectangle, Boolean, Boolean)
DrawGrid(Graphics, Rectangle, Size, Color)
DrawImageDisabled(Graphics, Image, Int32, Int32, Color)
DrawLockedFrame(Graphics, Rectangle, Boolean)
DrawMenuGlyph(Graphics, Rectangle, MenuGlyph)
DrawMenuGlyph(Graphics, Rectangle, MenuGlyph, Color, Color)
DrawMenuGlyph(Graphics, Int32, Int32, Int32, Int32, MenuGlyph)
DrawMenuGlyph(Graphics, Int32, Int32, Int32, Int32, MenuGlyph, Color, Color)
DrawMixedCheckBox(Graphics, Rectangle, ButtonState)
DrawMixedCheckBox(Graphics, Int32, Int32, Int32, Int32, ButtonState)
DrawRadioButton(Graphics, Rectangle, ButtonState)
DrawRadioButton(Graphics, Int32, Int32, Int32, Int32, ButtonState)
DrawReversibleFrame(Rectangle, Color, FrameStyle)
DrawReversibleLine(Point, Point, Color)
DrawScrollButton(Graphics, Rectangle, ScrollButton, ButtonState)
DrawScrollButton(Graphics, Int32, Int32, Int32, Int32, ScrollButton, ButtonState)
DrawSelectionFrame(Graphics, Boolean, Rectangle, Rectangle, Color)
DrawSizeGrip(Graphics, Color, Rectangle)
DrawSizeGrip(Graphics, Color, Int32, Int32, Int32, Int32)
DrawStringDisabled(Graphics, String, Font, Color, RectangleF, StringFormat)
DrawStringDisabled(IDeviceContext, String, Font, Color, Rectangle, TextFormatFlags)
DrawVisualStyleBorder(Graphics, Rectangle)
FillReversibleRectangle(Rectangle, Color)
Light(Color)
Light(Color, Single)
LightLight(Color)
net9.0-windows10.0.22621
namespace System.Windows.Forms
{
public static class ControlPaint
{
public static void DrawCaptionButton(Graphics! graphics, int x, int y, int width, int height, CaptionButton button, ButtonState state);
}
}
.NET | 5.06.07.08.09.0 |
---|---|
.NET Core | 3.03.1 |
.NET Framework | 1.01.12.03.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621 |
Information specific to net9.0-windows10.0.22621 | |
Assembly | System.Windows.Forms , Version=9.0.0.0, PublicKeyToken=b77a5c561934e089 |
Referencing | Your project needs to set |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API