<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1_Demo.DemoTreeView" mc:Ignorable="d" xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
    <Grid x:Name="LayoutRoot">
        <Grid.Resources>
            <Style TargetType="Image" x:Key="TreeIcon">
                <Setter Property="Width" Value="14" />
                <Setter Property="Height" Value="14" />
            </Style>
            <Style TargetType="TextBlock" x:Key="TreeText">
                <Setter Property="FontSize" Value="11" />
                <Setter Property="Margin" Value="4 0 0 0" />
            </Style>
        </Grid.Resources>
        <c1:C1TreeView x:Name="WindowExplorerTreeView" BorderBrush="#FF8FB4CC" ShowLines="True" LineThickness="1" LineStroke="#FF656565">
            <c1:C1TreeViewItem IsExpanded="True" Margin="10">
                <c1:C1TreeViewItem.Header>
                    <StackPanel Orientation="Horizontal">
                        <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/Desktop.png" />
                        <TextBlock Style="{StaticResource TreeText}" Text="Desktop" />
                    </StackPanel>
                </c1:C1TreeViewItem.Header>
                <c1:C1TreeViewItem>
                    <c1:C1TreeViewItem.Header>
                        <StackPanel Orientation="Horizontal">
                            <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/User.png" />
                            <TextBlock Style="{StaticResource TreeText}" Text="User" />
                    </StackPanel>
                    </c1:C1TreeViewItem.Header>
                </c1:C1TreeViewItem>
                <c1:C1TreeViewItem>
                    <c1:C1TreeViewItem.Header>
                        <StackPanel Orientation="Horizontal">
                            <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/Folder.png" />
                            <TextBlock Style="{StaticResource TreeText}" Text="Public" />
                    </StackPanel>
                    </c1:C1TreeViewItem.Header>
                    <c1:C1TreeViewItem>
                        <c1:C1TreeViewItem.Header>
                            <StackPanel Orientation="Horizontal">
                                <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/Folder.png" />
                                <TextBlock Style="{StaticResource TreeText}" Text="Favorites" />
                            </StackPanel>
                        </c1:C1TreeViewItem.Header>
                    </c1:C1TreeViewItem>
                    <c1:C1TreeViewItem>
                        <c1:C1TreeViewItem.Header>
                            <StackPanel Orientation="Horizontal">
                                <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/PublicDownloads.png" />
                                <TextBlock Style="{StaticResource TreeText}" Text="Public Downloads" />
                            </StackPanel>
                        </c1:C1TreeViewItem.Header>
                    </c1:C1TreeViewItem>
                    <c1:C1TreeViewItem>
                        <c1:C1TreeViewItem.Header>
                            <StackPanel Orientation="Horizontal">
                                <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/PublicMusic.png" />
                                <TextBlock Style="{StaticResource TreeText}" Text="Public Music" />
                            </StackPanel>
                        </c1:C1TreeViewItem.Header>
                    </c1:C1TreeViewItem>
                    <c1:C1TreeViewItem>
                        <c1:C1TreeViewItem.Header>
                            <StackPanel Orientation="Horizontal">
                                <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/PublicPictures.png" />
                                <TextBlock Style="{StaticResource TreeText}" Text="Public Pictures" />
                            </StackPanel>
                        </c1:C1TreeViewItem.Header>
                    </c1:C1TreeViewItem>
                    <c1:C1TreeViewItem>
                        <c1:C1TreeViewItem.Header>
                            <StackPanel Orientation="Horizontal">
                                <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/PublicVideos.png" />
                                <TextBlock Style="{StaticResource TreeText}" Text="Public Videos" />
                            </StackPanel>
                        </c1:C1TreeViewItem.Header>
                    </c1:C1TreeViewItem>
                </c1:C1TreeViewItem>
                <c1:C1TreeViewItem IsExpanded="True">
                    <c1:C1TreeViewItem.Header>
                        <StackPanel Orientation="Horizontal">
                            <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/Computer.png" />
                            <TextBlock Style="{StaticResource TreeText}" Text="Computer" />
                    </StackPanel>
                    </c1:C1TreeViewItem.Header>
                    <c1:C1TreeViewItem IsExpanded="True">
                        <c1:C1TreeViewItem.Header>
                            <StackPanel Orientation="Horizontal">
                                <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/LocalDisk.png" />
                                <TextBlock Style="{StaticResource TreeText}" Text="Local Disk (C:)" />
                            </StackPanel>
                        </c1:C1TreeViewItem.Header>
                        <c1:C1TreeViewItem>
                            <c1:C1TreeViewItem.Header>
                                <StackPanel Orientation="Horizontal">
                                    <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/Folder.png" />
                                    <TextBlock Style="{StaticResource TreeText}" Text="Program Files" />
                            </StackPanel>
                            </c1:C1TreeViewItem.Header>
                        </c1:C1TreeViewItem>
                        <c1:C1TreeViewItem>
                            <c1:C1TreeViewItem.Header>
                                <StackPanel Orientation="Horizontal">
                                    <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/Folder.png" />
                                    <TextBlock Style="{StaticResource TreeText}" Text="Users" />
                            </StackPanel>
                            </c1:C1TreeViewItem.Header>
                        </c1:C1TreeViewItem>
                        <c1:C1TreeViewItem>
                            <c1:C1TreeViewItem.Header>
                                <StackPanel Orientation="Horizontal">
                                    <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/Folder.png" />
                                    <TextBlock Style="{StaticResource TreeText}" Text="Windows" />
                            </StackPanel>
                            </c1:C1TreeViewItem.Header>
                        </c1:C1TreeViewItem>
                    </c1:C1TreeViewItem>
                    <c1:C1TreeViewItem>
                        <c1:C1TreeViewItem.Header>
                            <StackPanel Orientation="Horizontal">
                                <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/DVDDrive.png" />
                                <TextBlock Style="{StaticResource TreeText}" Text="DVD Drive (D:)" />
                            </StackPanel>
                        </c1:C1TreeViewItem.Header>
                    </c1:C1TreeViewItem>
                </c1:C1TreeViewItem>
                <c1:C1TreeViewItem>
                    <c1:C1TreeViewItem.Header>
                        <StackPanel Orientation="Horizontal">
                            <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/Network.png" />
                            <TextBlock Style="{StaticResource TreeText}" Text="Network" />
                            </StackPanel>
                    </c1:C1TreeViewItem.Header>
                </c1:C1TreeViewItem>
                <c1:C1TreeViewItem>
                    <c1:C1TreeViewItem.Header>
                        <StackPanel Orientation="Horizontal">
                            <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/ControlPanel.png" />
                            <TextBlock Style="{StaticResource TreeText}" Text="Control Panel" />
                            </StackPanel>
                    </c1:C1TreeViewItem.Header>
                </c1:C1TreeViewItem>
                <c1:C1TreeViewItem>
                    <c1:C1TreeViewItem.Header>
                        <StackPanel Orientation="Horizontal">
                            <Image Style="{StaticResource TreeIcon}" Source="../../Resources/explorer/RecycleBin.png" Opacity="0.9" />
                            <TextBlock Style="{StaticResource TreeText}" Text="Recycle Bin" />
                            </StackPanel>
                    </c1:C1TreeViewItem.Header>
                </c1:C1TreeViewItem>
            </c1:C1TreeViewItem>
        </c1:C1TreeView>
    </Grid>
</UserControl>