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.
102 lines
6.8 KiB
102 lines
6.8 KiB
<Window x:Class="Kingo.Plugin.EngineEditor.Views.FrmFeatureSelected" |
|
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:Kingo.Plugin.EngineEditor.Views" |
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" |
|
mc:Ignorable="d" |
|
d:DesignHeight="332.184" d:DesignWidth="300" Width="200" Height="200" Closed="form_closed" WindowStyle="None" AllowsTransparency="True" Background="Transparent" OpacityMask="White" ResizeMode="NoResize" > |
|
<Window.Resources> |
|
<ResourceDictionary Source="/KUI;component/Themes/Style/Style.xaml"> |
|
</ResourceDictionary> |
|
</Window.Resources> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="33*"/> |
|
<RowDefinition Height="167*"/> |
|
</Grid.RowDefinitions> |
|
<Grid Height="28" Cursor="Hand" VerticalAlignment="Top" HorizontalAlignment="Left"> |
|
<Rectangle HorizontalAlignment="Left" Grid.ColumnSpan="2" Height="28" Stroke="#FF128BED" VerticalAlignment="Center" Width="48" RadiusX="0" RadiusY="20"> |
|
<Rectangle.Fill> |
|
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> |
|
<GradientStop Color="White" Offset="0"/> |
|
<!--<GradientStop Color="White" Offset="0.496"/>--> |
|
<GradientStop Color="AliceBlue" Offset="0.4"/> |
|
<GradientStop Color="AliceBlue" Offset="1"/> |
|
</LinearGradientBrush> |
|
</Rectangle.Fill> |
|
</Rectangle> |
|
<Image Grid.Column="0" Height="20" Width="20" HorizontalAlignment="Left" Margin="3,0" VerticalAlignment="Center" Source="pack://application:,,,/Kingo.Plugin.EngineEditor;component/Resources/Tool/转换.png" /> |
|
<Button Opacity="0.1" Height="20" Width="20" HorizontalAlignment="Left" Margin="3,0" PreviewMouseLeftButtonDown="Button_PreviewMouseLeftButtonDown" Visibility="Visible" ></Button> |
|
<Button x:Name="btnList" Height="20" Width="20" Click="Btnlist_Click" Margin="26,0,14,0" Visibility="Visible" RenderTransformOrigin="3.078,0.489" > |
|
<Button.Resources> |
|
<Style TargetType="Button"> |
|
<Setter Property="Opacity" Value="0.7"/> |
|
<Setter Property="Template"> |
|
<Setter.Value> |
|
<ControlTemplate> |
|
<Image x:Name="img" HorizontalAlignment="Center" VerticalAlignment="Center" Source="pack://application:,,,/Kingo.Plugin.EngineEditor;component/Resources/Tool/more_unfold.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"> |
|
<StackPanel Name="staPanel"> |
|
<ListView x:Name="listView1" SelectionMode="Single" SelectionChanged="listView1_SelectionChanged" MouseDown="listView1_MouseDown" Height="165" > |
|
<ListView.View> |
|
<GridView> |
|
<GridView.ColumnHeaderContainerStyle> |
|
<Style TargetType="GridViewColumnHeader"> |
|
<Setter Property="HorizontalAlignment" Value="Left"/> |
|
<Setter Property="VerticalContentAlignment" Value="Center"/> |
|
<Setter Property="VerticalAlignment" Value="Center"/> |
|
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
|
<Setter Property="Width" Value="200"/> |
|
<Setter Property="Height" Value="23"/> |
|
<!--<Setter Property="Background" Value="Aqua"></Setter> |
|
<Setter Property="Foreground" Value="Black"/>--> |
|
<Setter Property="Template"> |
|
<Setter.Value> |
|
<ControlTemplate TargetType="GridViewColumnHeader"> |
|
<!--<Border Background="{TemplateBinding Background}">--> |
|
<Border Background="{TemplateBinding Background}"> |
|
<ContentPresenter VerticalAlignment="{TemplateBinding VerticalAlignment}" HorizontalAlignment="{TemplateBinding HorizontalAlignment}"></ContentPresenter> |
|
</Border> |
|
</ControlTemplate> |
|
</Setter.Value> |
|
</Setter> |
|
</Style> |
|
</GridView.ColumnHeaderContainerStyle> |
|
<GridViewColumn Header="图层图斑列表" Width="200" x:Name="nameFine"> |
|
<GridViewColumn.CellTemplate> |
|
<DataTemplate> |
|
<Grid Width="200"> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition Width="*" /> |
|
<ColumnDefinition Width="*" /> |
|
</Grid.ColumnDefinitions> |
|
<Image x:Name="img" Height="18" Width="20" Source="{Binding IMG}"></Image> |
|
<TextBlock x:Name="LayerName" Width="Auto" TextAlignment ="Center" Text="{Binding Path=LayerNameByOID}" Grid.Column="0" /> |
|
<TextBlock x:Name="Oid" Width="Auto" TextAlignment ="Left" Text="{Binding Path=OBJECTID}" Grid.Column="1" /> |
|
</Grid> |
|
</DataTemplate> |
|
</GridViewColumn.CellTemplate> |
|
</GridViewColumn> |
|
</GridView> |
|
</ListView.View> |
|
</ListView> |
|
<ListView/> |
|
</StackPanel> |
|
</Grid> |
|
</Grid> |
|
</Window>
|
|
|