Change Theme Settings
Change Theme Settings
Show All Themes

Node Link Mode


Specific service scripts are used to apply the hovered and selected styles to TreeView items and generate the NodeClick events.


The hovered and selected styles are applied without using scripts. The style settings available via the Styles.Link property are used to define the appearance of links.

In the ASPxTreeView, nodes represent navigation elements (links). For nodes, you can activate a specific link mode, in which only certain node elements are clickable. To accomplish this, use the NodeLinkMode property.

Options include:

  • TextOnly. Only a node's text is clickable.
  • TextAndImage. Only a node's text and image are clickable.
  • ContentBounds. The entire node's content is clickable.

To customize appearance settings for each link mode, use the ASPxTreeView's Styles.Link (for TextOnly and TextAndImage) and Styles.Node.HoverStyle (for ContentBounds) properties.

This demo shows ASPxTreeViews in two link modes - TextOnly and ContentBounds. You can click nodes in these ASPxTreeViews to see the difference in behavior and appearance.