Class XPThemes
This class provides functionality to draw control's background with various visual styles.
public class XPThemes
- Inheritance
-
XPThemes
Properties
- CurrentTheme
Represents name of current color theme.
- Offset
Sets the value that specifies two-dimensional shift matrix.
Methods
- DoneTheme()
Destroys current theme before initialization new theme.
- DrawBackground(IPainter, Rectangle, Color, Color)
Draws the control background within the specified rectangle with current theme.
- DrawCheckBox(IPainter, Rectangle, bool, bool)
Draws check box within the specified rectangle with current theme.
- DrawEditBorder(IPainter, Rectangle)
Draws border of edit control within the specified rectangle with current theme.
- DrawEditBorder(IntPtr, Rectangle)
Draws border of edit control within the specified rectangle with current theme.
- DrawGroupBackground(IPainter, Rectangle)
Draws the group background within the specified rectangle with current theme.
- DrawPushButton(IPainter, Rectangle, bool, bool)
Draws button within the specified rectangle with current theme.
- DrawRect(Rectangle)
Returns the rectangle object displaced relatively specified rectangle object by
Offset
value.
- GetGroupCaptionColor(bool)
Returns color of the group caption with current color theme.
- GetGroupItemCaptionColor(bool)
Returns color of the group item caption with current color theme.
- InitTheme()
Initializes a new theme.