123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <windows1:WinBase x:Class="DrawData.WinDrawSpace"
- 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:DrawData"
- xmlns:windows1="clr-namespace:SAGA.RevitUtils.Windows;assembly=SAGA.RevitUtils"
- mc:Ignorable="d"
- Title="空间关系查看" Height="800" Width="1000" Name="win" WindowState="Maximized" >
- <Window.Resources>
- <Style TargetType="Button">
- <Setter Property="Width" Value="100"/>
- <Setter Property="Height" Value="28"/>
- <Setter Property="Margin" Value="20,0,30,0"/>
- </Style>
- </Window.Resources>
- <Grid Name="grid">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="170"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="0"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="20"/>
- </Grid.RowDefinitions>
-
- <local:UcShowElement x:Name="ucShowElement"
- Grid.Column="1"
- Grid.Row="1" >
- </local:UcShowElement>
- <TreeView Name="rootNode" SelectedItemChanged="RootNode_OnSelectedItemChanged"
- Grid.Column="0" Grid.Row="0" Grid.RowSpan="3" >
- <TreeView.ItemContainerStyle>
- <Style TargetType="{x:Type TreeViewItem}">
- <Setter Property="IsExpanded" Value="True" />
- </Style>
- </TreeView.ItemContainerStyle>
- <TreeView.ItemTemplate>
- <HierarchicalDataTemplate ItemsSource="{Binding Path=Childrens}">
- <TextBlock Text="{Binding EName}"></TextBlock>
- </HierarchicalDataTemplate>
- </TreeView.ItemTemplate>
- </TreeView>
- </Grid>
- </windows1:WinBase>
|