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

TreeViewVirtualNode Class

A virtual equivalent of the ASPxTreeView’s TreeViewNode object.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

public class TreeViewVirtualNode :
    TreeViewNode,
    ITreeViewVirtualNode

Remarks

In virtual mode nodes should be created in the VirtualModeCreateChildren event handler. If a node has no children in virtual mode, set the TreeViewVirtualNode.IsLeaf property to true, to hide the expand button for this node.

Example

In this demo, the ASPxTreeView uses Virtual Mode to display the file/folder tree of the demo’s web site.

<dx:ASPxTreeView ID="treeView" runat="server" EnableCallBacks="true" OnVirtualModeCreateChildren="treeView_VirtualModeCreateChildren">
</dx:ASPxTreeView>

Inheritance

See Also