VisualStyleRenderer
VisualStyleRenderer(VisualStyleElement)
VisualStyleRenderer(String, Int32, Int32)
Class
Handle
IsSupported
LastHResult
Part
State
DrawBackground(IDeviceContext, Rectangle)
DrawBackground(IDeviceContext, Rectangle, Rectangle)
DrawEdge(IDeviceContext, Rectangle, Edges, EdgeStyle, EdgeEffects)
DrawImage(Graphics, Rectangle, Image)
DrawImage(Graphics, Rectangle, ImageList, Int32)
DrawParentBackground(IDeviceContext, Rectangle, Control)
DrawText(IDeviceContext, Rectangle, String)
DrawText(IDeviceContext, Rectangle, String, Boolean)
DrawText(IDeviceContext, Rectangle, String, Boolean, TextFormatFlags)
GetBackgroundContentRectangle(IDeviceContext, Rectangle)
GetBackgroundExtent(IDeviceContext, Rectangle)
GetBackgroundRegion(IDeviceContext, Rectangle)
GetBoolean(BooleanProperty)
GetColor(ColorProperty)
GetEnumValue(EnumProperty)
GetFilename(FilenameProperty)
GetFont(IDeviceContext, FontProperty)
GetInteger(IntegerProperty)
GetMargins(IDeviceContext, MarginProperty)
GetPartSize(IDeviceContext, ThemeSizeType)
GetPartSize(IDeviceContext, Rectangle, ThemeSizeType)
GetPoint(PointProperty)
GetString(StringProperty)
GetTextExtent(IDeviceContext, String, TextFormatFlags)
GetTextExtent(IDeviceContext, Rectangle, String, TextFormatFlags)
GetTextMetrics(IDeviceContext)
HitTestBackground(IDeviceContext, Rectangle, Point, HitTestOptions)
HitTestBackground(Graphics, Rectangle, Region, Point, HitTestOptions)
HitTestBackground(IDeviceContext, Rectangle, IntPtr, Point, HitTestOptions)
IsBackgroundPartiallyTransparent()
IsElementDefined(VisualStyleElement)
SetParameters(VisualStyleElement)
SetParameters(String, Int32, Int32)
net9.0-windows10.0.22621
namespace System.Windows.Forms.VisualStyles
{
public sealed class VisualStyleRenderer
{
public Padding GetMargins(IDeviceContext! dc, MarginProperty prop);
}
}
.NET | 5.06.07.08.09.0 |
---|---|
.NET Core | 3.03.1 |
.NET Framework | 2.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