Skip to main content
A newer version of this page is available. .

NodeLinkMode

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 ASPxTreeView.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.

The image below shows two ASPxTreeViews in two link modes - ContentBounds and TextOnly.

TreeView - NodeLinkMode