ComponentOne Menu for ASP.NET AJAX: Design-Time Support > C1Menu Smart Tag

C1Menu Smart Tag

The C1Menu control includes a smart tag in Visual Studio. A smart tag represents a shortcut tasks menu that provides the most commonly used properties in C1Menu.

To access the C1Menu Tasks menu, click on the smart tag in the upper-right corner of the C1Menu control. This will open the C1Menu Tasks menu.

 

 

The C1Menu Tasks menu operates as follows:

      Choose Data Source

Clicking on the Choose Data Source item opens a drop-down list where you can choose an existing data source or select a new data source to bind to. See Applying Different Data Binding Methods for more information about data binding.

      Configure Data Source

The Configure Data Source item only appears when C1Menu is bound to an XML data source. Clicking on Configure Data Source opens a dialog box where you can indicate the XML data file and transform file to use and specify an XPath expression.

      Refresh Schema

The Refresh Schema item only appears when C1Menu is bound to a data source. Clicking on Refresh Schema item refreshes the designer schema applied by the data source.

      Edit Menu

Clicking on the Edit Menu item opens the C1Menu Designer Form where you can quickly configure C1Menu's elements without having to scroll through its Properties window. You can load and save the control's content and can add LinkItem, Header, Group, and Separator elements. For more information on the C1 Menu Designer Form, see C1Menu Designer Form.

      Edit Menu DataBindings

Clicking on the Edit Databindings item opens the Bindings Collection Editor dialog box where you can add and remove bindings and edit properties.

      VisualStylePath

Displays the default path for the visual style.

      UseEmbeddedVisualStyles

When the UseEmbeddedVisualStyles property is selected it enables you to use the embedded visual styles.

      VisualStyle

Clicking the VisualStyle drop-down arrow enables you to select from different built-in visual styles. See Visual Styles for more information.

      About

Clicking on the About item displays the About dialog box, which is helpful in finding the version number of Menu for ASP.NET and online resources.

      Edit Templates

Clicking on the Edit Templates item switches the C1Menu control to Template Editing Mode:

 

 

In Template Editing Mode, the C1Menu Tasks menu appears with different options:

      Display

Selecting the Display drop-down arrow will open a list of template areas that can be customized:

 

 

Select a template from this list to open that template to be edited.

      End Template Editing

Clicking the End Template Editing item will end Template Editing Mode and return you to the main C1Menu Tasks menu.


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