Bagikan melalui


TreeView Line Image Generator Dialog Box

Allows you to configure the style of the lines or images that are displayed between nodes in a TreeView control. You can use this dialog box to create a custom style for your lines or images, or you can use the AutoFormat dialog box to select one of the styles that come with Microsoft Visual Studio 2005. For more information, see Customizing the Look and Feel of the TreeView Web Server Control.

To access this dialog box

  1. In Microsoft Visual Web Developer, create or open an existing ASP.NET page.

  2. Switch to Design view.

  3. From the Navigation tab of the Toolbox, drag a TreeView control onto the page.

  4. Right-click the control and click Show Smart Tag.

    The TreeView Tasks window is displayed.

  5. Click Customize Line Images.

Tasks

UI Elements

  • Preview
    Displays a preview of what your TreeView control will look like with the settings you configure in the Properties grid.

  • Properties
    Displays the line and image properties you can edit for the TreeView control. Use this grid to select images to display next to nodes, and the styles of the lines between the nodes. Alternatively, you can use the AutoFormat dialog box to select one of the styles that come with Visual Studio 2005.

    When you select a property, a description of the property appears in the text field below the Properties grid.

  • Folder name
    Specifies the name of the folder to store images in.

See Also

Concepts

Customizing the Look and Feel of the TreeView Web Server Control

Selection, Navigation, and Check Boxes in the TreeView Web Server Control

ASP.NET Site Navigation Overview

Other Resources

TreeView Control (Visual Studio)