ComponentOne Window for ASP.NET AJAX: Design-Time Support in Window for ASP.NET AJAX > C1Window Smart Tag

C1Window Smart Tag

In Visual Studio 2005 and 2008, the C1Window control includes a smart tag. A smart tag represents a short-cut tasks menu that provides the most commonly used properties in each component/command.

To access the C1Window Tasks menu, click on the Smart Tag () in the upper right corner of the C1Window control. This will open the C1Window Tasks menu.

 

The C1Window Tasks menu operates as follows:

      ShowOnLoad

When the ShowOnLoad check box is checked, the ShowOnLoad property is set to True and the dialog window will appear on the page on load. By default the ShowOnLoad check box is not checked and the ShowOnLoad property is set to False.

      VisualStylePath

The VisualStylePath property specifies the location of the visual styles used for the control. By default, embedded visual styles are located in ~/C1WebControls/VisualStyles. If you create a custom style, add it to this location ~/VisualStyles/StyleName/C1Window/styles.css, set the VisualStylePath property to ~/VisualStyles, and set the VisualStyle property to StyleName (assuming that StyleName is the name used to define the style in the style.css file). Uncheck the UseEmbeddedVisualStyles property.

      UseEmbeddedVisualStyles

This check box is checked by default so that the internal visual styles, such as ArcticFox and Vista can be used. If you want to use your own custom styles, uncheck this check box and specify the location of your visual styles using the VisualStylePath property.

      Visual Style

Clicking the Visual Style drop-down box allows you to select from various built-in visual schemes. For more information about available visual styles, see Visual Styles.

      About

Clicking About displays the C1Window control's About dialog box, which is helpful in finding the build number of the control along with licensing, registration and purchasing information, and additional online resources.


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