Skip to main content
Tab

ASPxTreeView.NodeLinkMode Property

Gets or sets a value that specifies how nodes are represented as links within the ASPxTreeView control.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(ItemLinkMode.ContentBounds)]
public ItemLinkMode NodeLinkMode { get; set; }

Property Value

Type Default Description
ItemLinkMode ContentBounds

One of the ItemLinkMode enumeration values.

Available values:

Name Description
TextOnly

Specifies that an item is represented only by its text, and the item’s clickable content is bounded by the text length.

TextAndImage

Specifies that an item is represented by both the text and image (if any), and the item’s clickable content is bounded by the total size of the text and image.

ContentBounds

Specifies that an item is represented by both the text and image (if any), and the item’s clickable content extends to the width of the parent control’s boundaries.

Remarks

Use the NodeLinkMode property to specify the manner in which nodes are displayed as links within the ASPxTreeView control. This property controls whether the clickable content of each node which serves as a link extends to the width of the node’s boundaries (the ContentBounds value) or it is bound by the size of the node’s text (the TextOnly value) or the total size of the text and image (the TextAndImage value).

See Also