年度变更建库软件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.

44 lines
2.7 KiB

<windows:BaseWindow
x:Class="Kingo.Plugin.AttributeMaintain.View.FrmAttributeMaintain"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
xmlns:btn="clr-namespace:KUI.Button;assembly=KUI"
xmlns:kui="clr-namespace:KUI;assembly=KUI"
mc:Ignorable="d" Title="属性维护" ResizeMode="NoResize"
Height="350" Width="420" Loaded="FrmAttribute_Loaded">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="30" />
<RowDefinition Height="60" />
</Grid.RowDefinitions>
<kui:PagingDataGrid x:Name="AttributeItemsSourse" Padding="0" Margin="8,0" AutoGenerateColumns="False" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False">
<kui:PagingDataGrid.Columns>
<DataGridTemplateColumn Width="*">
<DataGridTemplateColumn.HeaderTemplate>
<DataTemplate>
<CheckBox Content="全 选" Checked="CheckAll_Checked" Unchecked="CheckAll_Checked" />
</DataTemplate>
</DataGridTemplateColumn.HeaderTemplate>
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
<CheckBox Content="{Binding Descriction}" Margin="8,0" IsChecked="{Binding IsChecked,Mode=TwoWay,UpdateSourceTrigger=LostFocus}" />
</StackPanel>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
</kui:PagingDataGrid.Columns>
</kui:PagingDataGrid>
<StackPanel Orientation="Horizontal" Grid.Row="1">
<TextBlock Text="注:对增量成果的标识码、要素代码、椭球面积、扣除地类系数与扣除地类面积、项目属性赋值进行批量维护" Margin="8,0" TextWrapping="Wrap" Width="410" Foreground="Red" ></TextBlock>
</StackPanel>
<StackPanel Grid.Row="2" HorizontalAlignment="Center" Orientation="Horizontal">
<btn:KImgButton Content=" 确 定 " Height="30" Margin="5,0" Click="KImgSure_Click" />
<btn:KImgButton Content=" 取 消 " Height="30" Margin="5,0" Click="KImgCancel_Click" />
</StackPanel>
</Grid>
</windows:BaseWindow>