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)
net35
namespace System.Windows.Forms.VisualStyles
{
public sealed class VisualStyleRenderer
{
public Font GetFont(IDeviceContext dc, FontProperty 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 net35 | |
Assembly | System.Windows.Forms , Version=2.0.0.0, PublicKeyToken=b77a5c561934e089 |
Referencing | Your project needs to set |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API