<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="SilverTunes.FolderBrowser" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:local="clr-namespace:SilverTunes">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
            <RowDefinition Height="50" />
        </Grid.RowDefinitions>
                
        <TextBox x:Name="folderText" Margin="2" />
        
        <c1:C1TreeView x:Name="tree" Grid.Row="1">
            <local:FolderTreeItem Path="" IsExpanded="True" />
        </c1:C1TreeView>
        
        <Grid Background="#FFF0F0F0" Grid.Row="2">
            <Grid.RowDefinitions>
                <RowDefinition Height="*" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <StackPanel x:Name="Buttons" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Center" Grid.Row="1" Margin="0,0,5,0">
                <Button Content="OK" Margin="5,0,5,0" VerticalAlignment="Center" MinWidth="75" Click="Ok" />
                <Button Content="Cancel" Margin="5,0,5,0" VerticalAlignment="Center" MinWidth="75" Click="Cancel" />
            </StackPanel>
        </Grid>
    </Grid>
</UserControl>