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.
446 lines
30 KiB
446 lines
30 KiB
<Window x:Class="Kingo.Plugin.DataCheck.Views.FrmDataCheckHelp" |
|
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:KUI="clr-namespace:KUI;assembly=KUI" xmlns:btn="clr-namespace:KUI.Button;assembly=KUI" |
|
xmlns:local="clr-namespace:Kingo.Plugin.DataCheck.Views" |
|
xmlns:win="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils" |
|
mc:Ignorable="d" x:Name="win" |
|
WindowStyle="None" AllowsTransparency="True" Topmost="True" ShowInTaskbar="False" Background="Transparent" OpacityMask="White" ResizeMode="NoResize" |
|
Height="320" Width="250" > |
|
<Window.Resources> |
|
<!--<Storyboard x:Key="showDW2"> |
|
<DoubleAnimation Storyboard.TargetName="Canvas1" |
|
Storyboard.TargetProperty="RenderTransform.Children[0].ScaleX" |
|
From="0.2" To="0.5" Duration="0:0:0.04"> |
|
</DoubleAnimation> |
|
<DoubleAnimation Storyboard.TargetName="Canvas1" |
|
Storyboard.TargetProperty="RenderTransform.Children[0].ScaleY" |
|
From="0.2" To="0.5" Duration="0:0:0.04"> |
|
</DoubleAnimation> |
|
<DoubleAnimation Storyboard.TargetName="Canvas1" |
|
Storyboard.TargetProperty="RenderTransform.Children[0].ScaleX" |
|
From="0.5" To="1" Duration="0:0:0.04" BeginTime="0:0:0.04"> |
|
</DoubleAnimation> |
|
<DoubleAnimation Storyboard.TargetName="Canvas1" |
|
Storyboard.TargetProperty="RenderTransform.Children[0].ScaleY" |
|
From="0.5" To="1" Duration="0:0:0.04" BeginTime="0:0:0.04"> |
|
</DoubleAnimation> |
|
<DoubleAnimation Storyboard.TargetName="Canvas1" |
|
Storyboard.TargetProperty="RenderTransform.Children[0].ScaleX" |
|
From="1" To="1.2" Duration="0:0:0.04" BeginTime="0:0:0.08" AutoReverse="True"> |
|
</DoubleAnimation> |
|
<DoubleAnimation Storyboard.TargetName="Canvas1" |
|
Storyboard.TargetProperty="RenderTransform.Children[0].ScaleY" |
|
From="1" To="1.2" Duration="0:0:0.04" BeginTime="0:0:0.08" AutoReverse="True"> |
|
</DoubleAnimation> |
|
</Storyboard> |
|
<Storyboard x:Key="closeDW2"> |
|
<DoubleAnimation Storyboard.TargetName="Canvas1" |
|
Storyboard.TargetProperty="RenderTransform.Children[0].ScaleX" |
|
From="1" To="1.2" Duration="0:0:0.04" AutoReverse="True"> |
|
</DoubleAnimation> |
|
<DoubleAnimation Storyboard.TargetName="Canvas1" |
|
Storyboard.TargetProperty="RenderTransform.Children[0].ScaleY" |
|
From="1" To="1.2" Duration="0:0:0.04" AutoReverse="True"> |
|
</DoubleAnimation> |
|
<DoubleAnimation Storyboard.TargetName="Canvas1" |
|
Storyboard.TargetProperty="RenderTransform.Children[0].ScaleX" |
|
From="1" To="0.5" Duration="0:0:0.04" BeginTime="0:0:0.04"> |
|
</DoubleAnimation> |
|
<DoubleAnimation Storyboard.TargetName="Canvas1" |
|
Storyboard.TargetProperty="RenderTransform.Children[0].ScaleY" |
|
From="1" To="0.5" Duration="0:0:0.04" BeginTime="0:0:0.04"> |
|
</DoubleAnimation> |
|
<DoubleAnimation Storyboard.TargetName="Canvas1" |
|
Storyboard.TargetProperty="RenderTransform.Children[0].ScaleX" |
|
From="0.5" To="0.0" Duration="0:0:0.04" BeginTime="0:0:0.08" > |
|
</DoubleAnimation> |
|
<DoubleAnimation Storyboard.TargetName="Canvas1" |
|
Storyboard.TargetProperty="RenderTransform.Children[0].ScaleY" |
|
From="0.5" To="0.0" Duration="0:0:0.04" BeginTime="0:0:0.08"> |
|
</DoubleAnimation> |
|
</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>--> |
|
<HierarchicalDataTemplate x:Key="ItemNode" ItemsSource="{Binding Nodes,Mode=TwoWay}"> |
|
<StackPanel Orientation="Horizontal" Height="23" ContextMenu="{Binding cMenu}"> |
|
<Image Width="18" Source="{Binding Icon}" Height="18" Margin="0,0,4,0" /> |
|
<TextBlock Name="txtBox" Text="{Binding Name}" ToolTip="{Binding Tip}" FontSize="13" VerticalAlignment="Center"> |
|
</TextBlock> |
|
</StackPanel> |
|
<HierarchicalDataTemplate.Triggers> |
|
<DataTrigger Binding="{Binding IsOpenEdit,Mode=TwoWay}" Value="true"> |
|
<Setter TargetName="txtBox" Property="Foreground" Value="Red" /> |
|
</DataTrigger> |
|
</HierarchicalDataTemplate.Triggers> |
|
</HierarchicalDataTemplate> |
|
|
|
<Style x:Key="ButtonStyle1" TargetType="{x:Type Button}"> |
|
<Setter Property="BorderBrush" Value="White"/> |
|
<Setter Property="SnapsToDevicePixels" Value="True"/> |
|
<Setter Property="OverridesDefaultStyle" Value="True"/> |
|
<Setter Property="Template"> |
|
<Setter.Value> |
|
<ControlTemplate TargetType="{x:Type Button}"> |
|
<Grid> |
|
<Ellipse Fill="#FF9CB6DE"></Ellipse> |
|
<Ellipse Fill="{TemplateBinding BorderBrush}" Margin="1"></Ellipse> |
|
<!-- Background Layer --> |
|
<Ellipse Fill="{TemplateBinding Background}" Margin="3"/> |
|
<!-- Refraction Layer --> |
|
<Ellipse x:Name="RefractionLayer" Margin="3"> |
|
<Ellipse.Fill> |
|
<RadialGradientBrush GradientOrigin="0.496,1.052"> |
|
<RadialGradientBrush.RelativeTransform> |
|
<TransformGroup> |
|
<ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="1.5" ScaleY="1.5"/> |
|
<TranslateTransform X="0.02" Y="0.3"/> |
|
</TransformGroup> |
|
</RadialGradientBrush.RelativeTransform> |
|
<GradientStop Offset="1" Color="#00000000"/> |
|
<GradientStop Offset="0.4" Color="#B2FFFFFF"/> |
|
<GradientStop Color="#5FFFFFFF" Offset="0.025"/> |
|
</RadialGradientBrush> |
|
</Ellipse.Fill> |
|
</Ellipse> |
|
<!-- Reflection Layer --> |
|
<Path x:Name="ReflectionLayer" VerticalAlignment="Top" Opacity="0.7" Stretch="Fill" Margin="3"> |
|
<Path.RenderTransform> |
|
<ScaleTransform ScaleY="0.5" /> |
|
</Path.RenderTransform> |
|
<Path.Data> |
|
<PathGeometry> |
|
<PathFigure IsClosed="True" StartPoint="98.999,45.499"> |
|
<BezierSegment Point1="98.999,54.170" Point2="89.046,52.258" Point3="85.502,51.029"/> |
|
<BezierSegment |
|
IsSmoothJoin="True" |
|
Point1="75.860,47.685" |
|
Point2="69.111,45.196" |
|
Point3="50.167,45.196"/> |
|
<BezierSegment Point1="30.805,45.196" Point2="20.173,47.741" Point3="10.665,51.363"/> |
|
<BezierSegment |
|
IsSmoothJoin="True" |
|
Point1="7.469,52.580" |
|
Point2="1.000,53.252" |
|
Point3="1.000,44.999"/> |
|
<BezierSegment Point1="1.000,39.510" Point2="0.884,39.227" Point3="2.519,34.286"/> |
|
<BezierSegment |
|
IsSmoothJoin="True" |
|
Point1="9.106,14.370" |
|
Point2="27.875,0" |
|
Point3="50,0"/> |
|
<BezierSegment Point1="72.198,0" Point2="91.018,14.466" Point3="97.546,34.485"/> |
|
<BezierSegment |
|
IsSmoothJoin="True" |
|
Point1="99.139,39.369" |
|
Point2="98.999,40.084" |
|
Point3="98.999,45.499"/> |
|
</PathFigure> |
|
</PathGeometry> |
|
</Path.Data> |
|
<Path.Fill> |
|
<RadialGradientBrush GradientOrigin="0.498,0.526"> |
|
<RadialGradientBrush.RelativeTransform> |
|
<TransformGroup> |
|
<ScaleTransform |
|
CenterX="0.5" |
|
CenterY="0.5" |
|
ScaleX="1" |
|
ScaleY="1.997"/> |
|
<TranslateTransform X="0" Y="0.5"/> |
|
</TransformGroup> |
|
</RadialGradientBrush.RelativeTransform> |
|
<GradientStop Offset="1" Color="#CCFFFFFF"/> |
|
<GradientStop Offset="0.85" Color="#76FFFFFF"/> |
|
<GradientStop Offset="0" Color="#00000000"/> |
|
</RadialGradientBrush> |
|
</Path.Fill> |
|
</Path> |
|
<!-- ContentPresenter --> |
|
<ContentPresenter Margin="0,2,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"/> |
|
|
|
|
|
</Grid> |
|
<ControlTemplate.Triggers> |
|
<Trigger Property="IsMouseOver" Value="True"> |
|
<Setter TargetName="RefractionLayer" Property="Fill"> |
|
<Setter.Value> |
|
<RadialGradientBrush GradientOrigin="0.496,1.052"> |
|
<RadialGradientBrush.RelativeTransform> |
|
<TransformGroup> |
|
<ScaleTransform |
|
CenterX="0.5" |
|
CenterY="0.5" |
|
ScaleX="1.5" |
|
ScaleY="1.5"/> |
|
<TranslateTransform X="0.02" Y="0.3"/> |
|
</TransformGroup> |
|
</RadialGradientBrush.RelativeTransform> |
|
<GradientStop Offset="1" Color="#00000000"/> |
|
<GradientStop Offset="0.45" Color="#FFFFFFFF"/> |
|
</RadialGradientBrush> |
|
</Setter.Value> |
|
</Setter> |
|
<Setter TargetName="ReflectionLayer" Property="Fill"> |
|
<Setter.Value> |
|
<RadialGradientBrush GradientOrigin="0.498,0.526"> |
|
<RadialGradientBrush.RelativeTransform> |
|
<TransformGroup> |
|
<ScaleTransform |
|
CenterX="0.5" |
|
CenterY="0.5" |
|
ScaleX="1" |
|
ScaleY="1.997"/> |
|
<TranslateTransform X="0" Y="0.5"/> |
|
</TransformGroup> |
|
</RadialGradientBrush.RelativeTransform> |
|
<GradientStop Offset="1" Color="#FFFFFFFF"/> |
|
<GradientStop Offset="0.85" Color="#BBFFFFFF"/> |
|
<GradientStop Offset="0" Color="#00000000"/> |
|
</RadialGradientBrush> |
|
</Setter.Value> |
|
</Setter> |
|
</Trigger> |
|
<Trigger Property="IsPressed" Value="True"> |
|
<Setter TargetName="RefractionLayer" Property="Fill"> |
|
<Setter.Value> |
|
<RadialGradientBrush GradientOrigin="0.496,1.052"> |
|
<RadialGradientBrush.RelativeTransform> |
|
<TransformGroup> |
|
<ScaleTransform |
|
CenterX="0.5" |
|
CenterY="0.5" |
|
ScaleX="1.5" |
|
ScaleY="1.5"/> |
|
<TranslateTransform X="0.02" Y="0.3"/> |
|
</TransformGroup> |
|
</RadialGradientBrush.RelativeTransform> |
|
<GradientStop Offset="1" Color="#00000000"/> |
|
<GradientStop Offset="0.3" Color="#FFFFFFFF"/> |
|
</RadialGradientBrush> |
|
</Setter.Value> |
|
</Setter> |
|
<Setter TargetName="ReflectionLayer" Property="Fill"> |
|
<Setter.Value> |
|
<RadialGradientBrush GradientOrigin="0.498,0.526"> |
|
<RadialGradientBrush.RelativeTransform> |
|
<TransformGroup> |
|
<ScaleTransform |
|
CenterX="0.5" |
|
CenterY="0.5" |
|
ScaleX="1" |
|
ScaleY="1.997"/> |
|
<TranslateTransform X="0" Y="0.5"/> |
|
</TransformGroup> |
|
</RadialGradientBrush.RelativeTransform> |
|
<GradientStop Offset="1" Color="#CCFFFFFF"/> |
|
<GradientStop Offset="0.85" Color="#66FFFFFF"/> |
|
<GradientStop Offset="0" Color="#00000000"/> |
|
</RadialGradientBrush> |
|
</Setter.Value> |
|
</Setter> |
|
</Trigger> |
|
</ControlTemplate.Triggers> |
|
</ControlTemplate> |
|
</Setter.Value> |
|
</Setter> |
|
</Style> |
|
<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" > |
|
<Canvas.RenderTransform> |
|
<TransformGroup> |
|
<ScaleTransform CenterX="234" ScaleX="0" ScaleY="0" CenterY="0" /> |
|
</TransformGroup> |
|
</Canvas.RenderTransform> |
|
<Grid Margin="0,0" Canvas.Top="0" Width="234" Visibility="Visible" x:Name="detailGrid"> |
|
<Grid.Background> |
|
<ImageBrush ImageSource="/Kingo.Plugin.DataCheck;component/Resources/DataCheck/bg.png" Stretch="None" AlignmentY="Top"/> |
|
</Grid.Background> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="35" /> |
|
<RowDefinition /> |
|
</Grid.RowDefinitions> |
|
<Grid Grid.Row="0"> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="35" /> |
|
<ColumnDefinition /> |
|
<ColumnDefinition Width="25" /> |
|
</Grid.ColumnDefinitions> |
|
<Image Grid.Column="0" Height="28" Width="28" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3" Source="/Kingo.Plugin.DataCheck;component/Resources/DataCheck/minlogo.png"/> |
|
<Label Grid.Column="1" Content="变更图斑检查" VerticalContentAlignment="Center" Foreground="White" FontSize="14" /> |
|
<Button x:Name="btnClosePage" Height="18" Width="18" Click="btnClosePage_Click" Margin="5,0" Grid.Column="2" HorizontalAlignment="Right"> |
|
<Button.Resources> |
|
<Style TargetType="{x:Type Button}"> |
|
<Setter Property="Cursor" Value="Hand" /> |
|
<Setter Property="Opacity" Value="0.8"/> |
|
<Setter Property="Template"> |
|
<Setter.Value> |
|
<ControlTemplate> |
|
<Image x:Name="img" HorizontalAlignment="Center" VerticalAlignment="Center" Source="/Kingo.Plugin.DataCheck;component/Resources/DataCheck/closePage.png" /> |
|
</ControlTemplate> |
|
</Setter.Value> |
|
</Setter> |
|
<Style.Triggers> |
|
<Trigger Property="IsMouseOver" Value="True" > |
|
<Setter Property="Opacity" Value="1" /> |
|
</Trigger> |
|
</Style.Triggers> |
|
</Style> |
|
</Button.Resources> |
|
</Button> |
|
</Grid> |
|
<Grid Grid.Row="1"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="32" /> |
|
<RowDefinition Height="233"/> |
|
</Grid.RowDefinitions> |
|
<TextBox KUI:ControlAttachProperty.Watermark="输入图斑OID进行筛选" AcceptsReturn="True" /> |
|
<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="{Binding IsExpanded}"></Setter> |
|
<Setter Property="IsSelected" Value="{Binding Checked}"></Setter> |
|
</Style> |
|
</TreeView.ItemContainerStyle> |
|
</TreeView> |
|
</Grid> |
|
</Grid> |
|
</Canvas> |
|
<Grid Background="Transparent" Canvas.Right="0"> |
|
<Button Style="{DynamicResource ButtonStyle1}" Width="50" Height="50" MouseDoubleClick="Button_MouseDoubleClick" Background="#FF5A96F1" BorderBrush="White" BorderThickness="30" HorizontalAlignment="Right" VerticalAlignment="Top" > |
|
<Label Name="ErrorCount" FontSize="20">0</Label> |
|
<Button.ContextMenu> |
|
<ContextMenu> |
|
<MenuItem Header="关闭" Click="MenuItem_Click" /> |
|
</ContextMenu> |
|
</Button.ContextMenu> |
|
</Button> |
|
</Grid> |
|
<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> |
|
<!--<Grid Background="Transparent"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="{Binding ElementName=win,Path=Width}" /> |
|
</Grid.RowDefinitions> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition /> |
|
<ColumnDefinition Width="28" /> |
|
</Grid.ColumnDefinitions> |
|
|
|
<Grid Height="{Binding ElementName=win,Path=Width}" Grid.ColumnSpan="2" Cursor="Hand" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"> |
|
<Ellipse HorizontalAlignment="Center" Height="70" Stroke="#FF58D664" VerticalAlignment="Center" Width="70" StrokeThickness="4"> |
|
<Ellipse.Fill> |
|
<RadialGradientBrush> |
|
<GradientStop Color="#FFEAE9E7"/> |
|
</RadialGradientBrush> |
|
</Ellipse.Fill> |
|
</Ellipse> |
|
<Canvas x:Name="cavLoading" Visibility="Collapsed" Width="58" Height="58"> |
|
<Canvas.RenderTransform> |
|
<RotateTransform Angle="0" CenterX="29" CenterY="29" /> |
|
</Canvas.RenderTransform> |
|
<Ellipse x:Name="C0" Width="12" Height="12" Canvas.Left="0" Canvas.Top="0" Stretch="Fill" Fill="#FF58D664" Opacity="1.0"> |
|
</Ellipse> |
|
</Canvas> |
|
<Grid MouseEnter="Grid_MouseEnter" Margin="12" MouseLeftButtonDown="Grid_MouseLeftButtonDown" Background="Red" Opacity="0.01"></Grid> |
|
</Grid> |
|
<KUI:PopupEx x:Name="popContent" Topmost="False" Width="250" Height="300" IsOpen="{Binding ElementName=togBtn,Path=IsChecked}" StaysOpen="True" PopupAnimation="Slide" AllowsTransparency="False" |
|
PlacementTarget="{Binding ElementName=togBtn}" Placement="Top"> |
|
<Canvas x:Name="Canvas1"> |
|
<Canvas.RenderTransform> |
|
<TransformGroup> |
|
<ScaleTransform CenterX="250" ScaleX="1" ScaleY="1" CenterY="300" /> |
|
</TransformGroup> |
|
</Canvas.RenderTransform> |
|
<Grid Margin="0,0" Canvas.Top="0" Width="250" Visibility="Visible" x:Name="detailGrid"> |
|
<Grid.Background> |
|
<ImageBrush ImageSource="/Kingo.Plugin.DataCheck;component/Resources/DataCheck/bg.png" Stretch="None" AlignmentY="Top"/> |
|
</Grid.Background> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="35" /> |
|
<RowDefinition /> |
|
</Grid.RowDefinitions> |
|
<Grid Grid.Row="0"> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="35" /> |
|
<ColumnDefinition /> |
|
<ColumnDefinition Width="25" /> |
|
</Grid.ColumnDefinitions> |
|
<Image Grid.Column="0" Height="28" Width="28" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3" Source="/Kingo.Plugin.DataCheck;component/Resources/DataCheck/minlogo.png"/> |
|
<Label Grid.Column="1" Content="智能检查助手" VerticalContentAlignment="Center" Foreground="White" FontSize="14" /> |
|
<Button x:Name="btnClosePage" Height="18" Width="18" Click="btnClosePage_Click" Margin="5,0" Grid.Column="2" HorizontalAlignment="Right"> |
|
<Button.Resources> |
|
<Style TargetType="{x:Type Button}"> |
|
<Setter Property="Cursor" Value="Hand" /> |
|
<Setter Property="Opacity" Value="0.8"/> |
|
<Setter Property="Template"> |
|
<Setter.Value> |
|
<ControlTemplate> |
|
<Image x:Name="img" HorizontalAlignment="Center" VerticalAlignment="Center" Source="/Kingo.Plugin.DataCheck;component/Resources/DataCheck/closePage.png" /> |
|
</ControlTemplate> |
|
</Setter.Value> |
|
</Setter> |
|
<Style.Triggers> |
|
<Trigger Property="IsMouseOver" Value="True" > |
|
<Setter Property="Opacity" Value="1" /> |
|
</Trigger> |
|
</Style.Triggers> |
|
</Style> |
|
</Button.Resources> |
|
</Button> |
|
</Grid> |
|
<Grid Grid.Row="1"> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="32" /> |
|
<RowDefinition Height="233"/> |
|
</Grid.RowDefinitions> |
|
<TextBox KUI:ControlAttachProperty.Watermark="输入图斑OID进行筛选" AcceptsReturn="True" /> |
|
<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="{Binding IsExpanded}"></Setter> |
|
<Setter Property="IsSelected" Value="{Binding Checked}"></Setter> |
|
</Style> |
|
</TreeView.ItemContainerStyle> |
|
</TreeView> |
|
</Grid> |
|
</Grid> |
|
</Canvas> |
|
</KUI:PopupEx> |
|
</Grid>--> |
|
</Window>
|
|
|