<h1>
    TreeView Properties
</h1>
<p>
    In addition to the data-binding properties that define the
    TreeView content, the control provides several properties that
    customize its behavior.
</p>
<p>
    This sample shows the effect of some of these properties:
</p>

<div class="row demo-settings">
    <div class="col-xs-6">
        <div id="properties"></div>
        <button id="btnCollapse" class="btn btn-default">Collapse All</button>
        <button id="btnExpand" class="btn btn-default">Expand All</button>
    </div>
    <div class="col-xs-6">
        @Html.C1().TreeView().Id("theTree").DisplayMemberPath("header").ChildItemsPath("items")
    </div>
</div>