<UserControl x:Class="CollaborativePlatformProject.FormLibrary.Project.ProjectControls"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:CollaborativePlatformProject.FormLibrary.Project"
             mc:Ignorable="d" Width="800" Height="550">
    <StackPanel Orientation="Horizontal">
        <Border  BorderBrush="Green" BorderThickness="0.5,0,0,0.5" Width="200">

            <StackPanel>

                <TextBlock Text="建筑" HorizontalAlignment="Center" FontSize="25" Grid.Row="0"/>
                <TreeView  x:Name="tv_building" Height="518">
                    <TreeView.ItemTemplate>
                        <HierarchicalDataTemplate ItemsSource="{Binding Children}">
                            <TextBlock Text="{Binding Name}"/>
                        </HierarchicalDataTemplate>
                    </TreeView.ItemTemplate>
                </TreeView>
            </StackPanel>
        </Border>
        <Border  BorderBrush="Green" BorderThickness="0.5,0,0,0.5" Width="200">
            <TextBlock Text="结构" HorizontalAlignment="Center" FontSize="25"/>
        </Border>
        <Border  BorderBrush="Green" BorderThickness="0.5,0,0,0.5" Width="200">
            <TextBlock Text="给排水" HorizontalAlignment="Center" FontSize="25"/>
        </Border>
        <Border  BorderBrush="Green" BorderThickness="0.5,0,0,0.5" Width="200">
            <TextBlock Text="暖通" HorizontalAlignment="Center" FontSize="25"/>
        </Border>
        <Border  BorderBrush="Green" BorderThickness="0.5,0,0,0.5" Width="200">
            <TextBlock Text="电气" HorizontalAlignment="Center" FontSize="25"/>
        </Border>
    </StackPanel>
</UserControl>
