View previous topic :: View next topic |
Author |
Message |
Bill
Joined: 14 May 2007 Posts: 4
|
Posted: Mon May 14, 2007 4:46 pm Post subject: Visual Styles |
|
|
Is it possible to change the visual style of the column header and the row headers? I would like to be able to use gradient colors of Office 2007. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon May 14, 2007 10:57 pm Post subject: |
|
|
By default Virtual Tree uses XP Themes to draw the column and row headers. You can however take control of this yourself by setting the UseThemedHeaders property to false and then setting the HeaderStyle, HeaderPressed and HeaderHot properties yourself. The styles support gradient backgrounds (by setting the BackColor, GradientColor and GradientMode). This means you can reproduce something similar to the Office 2007 look.
Have a look at the DatabaseBrowser sample project - it uses custom header styles with gradients. _________________ Infralution Support |
|
Back to top |
|
|
|