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.
54 lines
3.3 KiB
54 lines
3.3 KiB
<windows:BaseWindow xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils" |
|
x:Class="Kingo.Plugin.MakeTaskPackage.View.FrmXZQSelected" |
|
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:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" |
|
xmlns:sys="clr-namespace:System;assembly=mscorlib" |
|
xmlns:local="clr-namespace:Kingo.Plugin.MakeTaskPackage.View" |
|
xmlns:btn="clr-namespace:KUI.Button;assembly=KUI" |
|
mc:Ignorable="d" Title="行政区选择" |
|
d:DesignHeight="450" d:DesignWidth="800" Loaded="FrmXZQSelected_Loaded"> |
|
<Grid> |
|
<Grid.RowDefinitions> |
|
<RowDefinition Height="*" /> |
|
<RowDefinition Height="60" /> |
|
</Grid.RowDefinitions> |
|
|
|
|
|
<dxg:GridControl AutoPopulateColumns="False" Name="gridData" AutoGenerateColumns="AddNew" > |
|
<dxg:GridControl.View> |
|
<dxg:TableView Name="gridFileInfo" AllowGrouping="False" AllowColumnMoving="False" AllowResizing="True" AllowColumnFiltering="False" AllowSorting="False" ShowGroupPanel="False" AllowEditing="False"/> |
|
</dxg:GridControl.View> |
|
<dxg:GridControl.Columns> |
|
<dxg:GridColumn FieldName="IsValid" Header="选中" Width="60" AllowSorting="False" AllowMoving="False" VisibleIndex="0" AllowEditing="False" HorizontalHeaderContentAlignment="Center" > |
|
<dxg:GridColumn.CellTemplate> |
|
<DataTemplate> |
|
<CheckBox IsChecked="{Binding Data.IsValid,Mode=TwoWay}" |
|
HorizontalAlignment="Center" VerticalAlignment="Center" Click="CheckBox_Click"> |
|
</CheckBox> |
|
</DataTemplate> |
|
</dxg:GridColumn.CellTemplate> |
|
</dxg:GridColumn> |
|
</dxg:GridControl.Columns> |
|
</dxg:GridControl> |
|
<Grid Grid.Row="1"> |
|
<Grid.ColumnDefinitions> |
|
<ColumnDefinition /> |
|
<ColumnDefinition /> |
|
</Grid.ColumnDefinitions> |
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" Grid.Column="0" > |
|
<TextBlock Text="生成文件名称:" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="10,0,0,0"/> |
|
<ComboBox x:Name="combFields" Height="30" Margin="0,0" VerticalAlignment="Center" Width="150" IsReadOnly="False" DisplayMemberPath="Name" SelectedValuePath="Code" > |
|
</ComboBox> |
|
|
|
</StackPanel > |
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Column="1" > |
|
<btn:KImgButton x:Name="btnOK" Content="确 定" Margin="0,5,10,0" Height="30" Width="96" Click="btnOK_Click"/> |
|
<btn:KImgButton x:Name="btnCancel" Content="取 消" Width="96" Height="30" Margin="0,5,20,0" Foreground="White" Click="btnCancel_Click" /> |
|
</StackPanel> |
|
</Grid> |
|
</Grid> |
|
</windows:BaseWindow>
|
|
|