123456789101112131415161718192021222324252627282930313233343536 |
- <UserControl x:Class="CollaborativePlatformMain.Form.UserControlForm.ProjectControls"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:CollaborativePlatformMain.Form"
- 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>
|