Tab

TreeViewVirtualNode Class

A virtual equivalent of the ASPxTreeView's TreeViewNode object.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.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.

Examples

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

View Example

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

Inheritance

See Also