@model IEnumerable<TreeViewData>

<h1>
    Disabled Nodes
</h1>

<p>
    You can disable nodes using the <b>TreeNode</b>'s <b>isDisabled</b>
    property.
</p>
<p>
    Disabled nodes cannot be selected using the mouse or keyboard.
</p>

<button id="btnDisableNode" class="btn btn-default">
    Disable Selected Node
</button>
<button id="btnEnableAllNodes" class="btn btn-default">
    Enable All Nodes
</button>

@Html.C1().TreeView().Id("theTree").Bind(Model).DisplayMemberPath("Header").ChildItemsPath("Items")