Table of Contents
Static TreeView

The following XAML demonstrates how to define a static TreeView with EO.Wpf TreeView control:

XAML
<Window x:Class="Test.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:eo="http://schemas.essentialobjects.com/wpf/"
        Title="MainWindow" Height="250" Width="350">
    <StackPanel>
        <eo:TreeView Width="200" Height="200" HorizontalAlignment="Left">
            <eo:TreeViewItem Header="Parent Item 1">
                <eo:TreeViewItem Header="Child Item 1"></eo:TreeViewItem>
                <eo:TreeViewItem Header="Child Item 2"></eo:TreeViewItem>
            </eo:TreeViewItem>
            <eo:TreeViewItem Header="Parent Item 2">
                <eo:TreeViewItem Header="Child Item 3"></eo:TreeViewItem>
                <eo:TreeViewItem Header="Child Item 4"></eo:TreeViewItem>
                <eo:TreeViewItem Header="Child Item 5"></eo:TreeViewItem>
            </eo:TreeViewItem>
        </eo:TreeView>
    </StackPanel>
</Window>

The above code produces the following result: