ComponentOne TreeView for ASP.NET: TreeView Appearance > Visual Styles

Visual Styles

C1TreeView has five built-in themes: ArcticFox, Vista, Office2007Black, Office2007Blue, and Office2007Silver. Each theme includes one .css file and a set of images used by the CSS classes, for example, arrows, icons, buttons, and so on. The themes can be customized by changing the styles and images in the appropriate .css file.

Note: Additional styles are installed with the product, but they must be added as custom visual styles at this time. These styles include: BureauBlack, Evergreen, ExpressionDark, RanierOrange, RanierPurple, ShinyBlue, and Windows7. See Custom Visual Styles for more information.

Defining Themes

The themes can be defined as a resource theme or a file theme. The theme with the .CSS file in resource is named Resource Theme. The theme with CSS in external file is named File Theme. All external file themes are installed in C:\Program Files\Studio for ASP.NET\C1WebUI\VisualStyles.

Custom external themes can be created using an existing theme and modifying its styles and images in the appropriate .css file. The default location path for creating custom external themes is \VisualStyles\CustomThemeName\C1TreeView.

C1TreeView includes a listbox of available visual styles in the C1TreeView Tasks menu to quickly change C1TreeView’s theme. The C1TreeView Tasks menu enables you to choose from one of the five themes to apply to the C1TreeView control. The visual styles can also be applied to the C1TreeView control by setting its VisualStyle property in the Properties window.

Accessing the Visual Styles at design time

The visual styles are accessible in one of two ways at design time:

      Select Visual Styles drop-down listbox from C1TreeView Tasks menu.

      Select Visual Styles drop-down listbox from C1TreeView’s Properties Window.

Available Visual Styles

The following visual styles are available for C1TreeView:

 

Scheme

Preview

ArcticFox

Office2007Black

Office2007Blue

Office2007Silver

Vista


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.