Property | Type | Description | |
---|---|---|---|
WM_NCPAINT | int |
Method | Description | |
---|---|---|
CanPaintVisualStyle ( System.Windows.Forms.VisualStyles.VisualStyleElement element ) : bool |
Returns a value indicating whether or not visual style rendering is supported in the application and if the specified element can be rendered.
|
|
DrawCustomBorder ( |
Draws around the specified control, a fixed single border the color of text boxes in a themed environment. If themes are not enabled, the border is black.
|
|
DrawCustomBorder ( |
Draws around the specified control, a fixed single border of the specified color.
|
|
DrawHotBackground ( |
Draws a background in the specified rectangle that looks like a toolbar button when the mouse is over it, with consideration for whether the look should be like the mouse is down or not. Note, when a PaintState of normal is specified, this method does nothing. Normal background painting is up to the caller.
|
Method | Description | |
---|---|---|
GetParent ( |
||
GetWindowDC ( |
||
PaintDropDownContainer ( |
||
ReleaseDC ( |
public static CanPaintVisualStyle ( System.Windows.Forms.VisualStyles.VisualStyleElement element ) : bool | ||
element | System.Windows.Forms.VisualStyles.VisualStyleElement | |
return | bool |
public static DrawCustomBorder ( |
||
ctrl | ||
return | void |
public static DrawCustomBorder ( |
||
ctrl | ||
clrBorder | Color | |
return | void |
public static DrawHotBackground ( |
||
g | ||
rc | ||
state | PaintState | |
return | void |