Overview
VisualStyle is a class that encapsulates all the
visual properties of a rectangular object together with a routine to
help with the painting. Most of the controls form PlusSuite paint
themselves using a VisualStyle. Typically, for mouse aware controls, you would
define 3 different VisualStyle properties for an object: normal, hover and
selected. Using the various visual properties you can create wonderful
effects.
Features
-
Double border: outer and inner
-
Margin between the outer and inner border
-
The border can be Flat Solid or 3D
-
The border and margin can have different colors
-
Font
-
Background Image
-
Fore and Back colors or brushes
-
Automatic XP Button Theme render
-
Allows chaining of various VisualStyle objects through the AmbientStyle member.
-
Optimized painting
-
Can paint to a bitmap
-
Can paint monochrome
|