年度变更建库软件5.0版本
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

99 lines
7.0 KiB

<Window x:Class="Kingo.Plugin.BHTB_Extract.View.MulitMapCatalog"
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:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:local="clr-namespace:Kingo.PluginServiceInterface;assembly=Kingo.PluginServiceInterface"
mc:Ignorable="d" WindowStyle="None" AllowsTransparency="True" Topmost="True" ShowInTaskbar="False" Background="Transparent" OpacityMask="White" ResizeMode="NoResize"
d:DesignHeight="320" d:DesignWidth="200">
<Window.Resources>
<HierarchicalDataTemplate x:Key="ItemNode" ItemsSource="{Binding Children}" >
<StackPanel Orientation="Horizontal">
<CheckBox Name="txtBox" Focusable="False" Content="{Binding LayerName}" IsChecked="{Binding IsChecked, Mode=TwoWay}" FontSize="13" VerticalAlignment="Center" Click="txtBox_Click" ></CheckBox>
</StackPanel>
</HierarchicalDataTemplate>
<Storyboard x:Key="ShowDetail" AutoReverse="False" >
<DoubleAnimation Storyboard.TargetName="Canvas1" Storyboard.TargetProperty="RenderTransform.Children[0].ScaleX" To="1" Duration="0:0:0.2" />
<DoubleAnimation Storyboard.TargetName="Canvas1" Storyboard.TargetProperty="RenderTransform.Children[0].ScaleY" To="1" Duration="0:0:0.2" />
<DoubleAnimation Storyboard.TargetName="Canvas1" Storyboard.TargetProperty="RenderTransform.Children[0].ScaleX" To="1.2" Duration="0:0:0.2" />
<DoubleAnimation Storyboard.TargetName="Canvas1" Storyboard.TargetProperty="RenderTransform.Children[0].ScaleY" To="1.2" Duration="0:0:0.2" />
<DoubleAnimation Storyboard.TargetName="Canvas1" Storyboard.TargetProperty="RenderTransform.Children[0].ScaleX" To="1" Duration="0:0:0.2" />
<DoubleAnimation Storyboard.TargetName="Canvas1" Storyboard.TargetProperty="RenderTransform.Children[0].ScaleY" To="1" Duration="0:0:0.2" />
</Storyboard>
<Storyboard x:Key="CloseDetail" AutoReverse="False">
<DoubleAnimation Storyboard.TargetName="Canvas1" Storyboard.TargetProperty="RenderTransform.Children[0].ScaleX" To="0" Duration="0:0:0.2" />
<DoubleAnimation Storyboard.TargetName="Canvas1" Storyboard.TargetProperty="RenderTransform.Children[0].ScaleY" To="0" Duration="0:0:0.2" />
</Storyboard>
<Storyboard x:Key="loading" RepeatBehavior="Forever">
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" RepeatBehavior="Forever" Storyboard.TargetName="cavLoading" Storyboard.TargetProperty="RenderTransform.Angle">
<EasingDoubleKeyFrame KeyTime="00:00:0.2" Value="60"/>
<EasingDoubleKeyFrame KeyTime="00:00:0.8" Value="300"/>
<EasingDoubleKeyFrame KeyTime="00:00:01" Value="360"/>
</DoubleAnimationUsingKeyFrames>
</Storyboard>
</Window.Resources>
<Grid >
<Canvas x:Name="Canvas1" Margin="8,6" >
<Canvas.RenderTransform>
<TransformGroup>
<ScaleTransform CenterX="5" ScaleX="0" ScaleY="0" CenterY="0" />
<TranslateTransform/>
</TransformGroup>
</Canvas.RenderTransform>
<Grid Margin="0,0" Canvas.Top="0" Width="200" Visibility="Visible" x:Name="detailGrid">
<Grid.Background>
<ImageBrush ImageSource="/Kingo.Plugin.BHTB_Extract;component/Resources/bg.png" Stretch="None" AlignmentY="Top"/>
</Grid.Background>
<Grid.RowDefinitions>
<RowDefinition Height="40" />
<RowDefinition />
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="35" />
<ColumnDefinition />
<ColumnDefinition Width="30" />
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.ColumnSpan="2" Content="多窗口图层目录" VerticalContentAlignment="Center" HorizontalAlignment="Left" Foreground="White" FontSize="14" Margin="12,0"/>
<Label Grid.Column="2" Name="btClose" Content="×" VerticalAlignment="Center" VerticalContentAlignment ="Top" HorizontalAlignment="Right" Foreground="White" FontSize="22" Margin="5,-2,5,0" MouseDown="btClose_MouseDown"/>
<!--<Button Grid.Column="2" Content="X" Background="Transparent" Foreground="White" Margin="3" Name="btClose" VerticalContentAlignment="Center" HorizontalAlignment="Right" Click="btClose_Click">
</Button>-->
</Grid>
<Grid Grid.Row="1">
<Grid.RowDefinitions>
<RowDefinition Height="5" />
<RowDefinition Height="233"/>
</Grid.RowDefinitions>
<!--<TreeView Grid.Row="1" x:Name="tvTypes" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ItemsSource="{Binding MapTreeViewModel.Children}">
<TreeView.ItemTemplate>
<HierarchicalDataTemplate ItemsSource="{Binding Children}">
<CheckBox Name="txtBox" Focusable="False" Content="{Binding LayerName}" IsChecked="{Binding IsChecked, Mode=TwoWay}" FontSize="13" VerticalAlignment="Center" Click="txtBox_Click" ></CheckBox>
</HierarchicalDataTemplate>
</TreeView.ItemTemplate>
</TreeView>-->
<TreeView Grid.Row="1" x:Name="tvTypes" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ItemTemplate="{StaticResource ItemNode}" >
<TreeView.ItemContainerStyle>
<Style TargetType="{x:Type TreeViewItem}">
<Setter Property="IsExpanded" Value="True"></Setter>
<Setter Property="IsSelected" Value="{Binding Checked}"></Setter>
</Style>
</TreeView.ItemContainerStyle>
</TreeView>
</Grid>
</Grid>
</Canvas>
<Canvas x:Name="cavLoading" Visibility="Collapsed" Width="50" Height="50" HorizontalAlignment="Right" VerticalAlignment="Top">
<Canvas.RenderTransform>
<RotateTransform Angle="0" CenterX="25" CenterY="25" />
</Canvas.RenderTransform>
<Grid Width="50" Height="50" Canvas.Right="0" Canvas.Top="0">
<Ellipse x:Name="C0" Width="5" Height="5" HorizontalAlignment="Center" VerticalAlignment="Top" Stretch="Fill" Fill="#FF5587D3" Opacity="1.0">
</Ellipse>
</Grid>
</Canvas>
</Grid>
</Window>