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

112 lines
10 KiB

<UserControl
x:Class="Kingo.Plugin.DLTB_IDG.View.SingleFeatureChanging"
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:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
xmlns:dxg="clr-namespace:DevExpress.Xpf.Grid;assembly=DevExpress.Xpf.Grid.v17.1"
xmlns:kui="clr-namespace:KUI;assembly=KUI"
mc:Ignorable="d" d:DesignHeight="450" d:DesignWidth="800">
<Grid>
<dxlc:LayoutControl Orientation="Vertical" Padding="0">
<dxlc:LayoutGroup Orientation="Horizontal" Height="32" Margin="7,0,-7,0">
<dxlc:LayoutItem IsRequired="True" Label="" Width="300" dxlc:LayoutControl.AllowHorizontalSizing="True" VerticalAlignment="Stretch" LabelPosition="Top">
<StackPanel Orientation="Horizontal">
<kui:KFontIconButton FIcon="&#xe62a;" Content=" 刷新" FIconSize="20" Background="#FF0093DF" BorderThickness="0" Margin="3,0" Click="BtnRefush_Click" Height="28
" RenderTransformOrigin="1.208,0.5" CornerRadius="2" MouseOverBackground="#FF80CFF2" PressedBackground="#FF0093DF" Foreground="White" Width="70"/>
<kui:KFontIconButton FIcon="&#xe61a;" Background="#FF0093DF" Content=" 单图斑变更" x:Name="SinTBBG" FIconSize="18" BorderThickness="0" Margin="3,0" Click="BtnSingleTBBG" Height="28
" RenderTransformOrigin="1.208,0.5" CornerRadius="2" MouseOverBackground="#FF80CFF2" PressedBackground="#FF0093DF" Foreground="White" Width="105"/>
<kui:KFontIconButton FIcon="&#xe653;" Background="#FF0093DF" Content=" 撤销" FIconSize="18" BorderThickness="0" Margin="3,2" Click="btnRevokeTBBG" Height="28
" RenderTransformOrigin="1.208,0.5" CornerRadius="2" MouseOverBackground="#FF80CFF2" PressedBackground="#FF0093DF" Foreground="White" Width="70" Visibility="Collapsed"/>
</StackPanel>
</dxlc:LayoutItem>
</dxlc:LayoutGroup>
<dxlc:LayoutGroup Orientation="Horizontal">
<dxlc:LayoutItem IsRequired="True" Label="" dxlc:LayoutControl.AllowHorizontalSizing="True" VerticalAlignment="Stretch" LabelPosition="Top">
<dxg:GridControl Grid.Column="0" AutoPopulateColumns="False" Name="dgInto" AutoGenerateColumns="None" AutoGeneratedColumns="DgInto_AutoGeneratedColumns">
<dxg:GridControl.View>
<dxg:TableView Name="tvAttr2" ShowTotalSummary="False"
ShowSearchPanelMode="Never" AllowGrouping="True" MultiSelectMode="Row" ShowGroupPanel="False" AllowEditing="False" ShowAutoFilterRow="True" AllowFilterEditor="True" RowDoubleClick="TvAttr2_RowDoubleClick" />
</dxg:GridControl.View>
<dxg:GridControl.Columns>
<dxg:GridColumn Header="选择" FieldName="IsChecked" AllowEditing="True" HorizontalHeaderContentAlignment="Center" AllowAutoFilter="False" AllowColumnFiltering="False">
<dxg:GridColumn.HeaderTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<CheckBox Content="反选" x:Name="cbUnSelect" Click="CbUnSelect_Click" Margin="5,0" />
<CheckBox Content="取消选择" x:Name="cbSelectAll" Click="CbSelectAll_Click" Margin="5,0" />
</StackPanel>
</DataTemplate>
</dxg:GridColumn.HeaderTemplate>
</dxg:GridColumn>
<dxg:GridColumn Header="变更状态" Binding="{Binding RowData.Row[BGZT]}" Width="80"/>
<dxg:GridColumn Header="检查状态" Binding="{Binding RowData.Row[JCZT]}" />
<dxg:GridColumn Header="OBJECTID" Width="80" FieldName="OBJECTID" />
<dxg:GridColumn Header="地类信息" Width="120">
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" Margin="2,0">
<Label x:Name="labDLBM" Content="{Binding RowData.Row[DLBM]}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="Visible"/>
<Label Content="-" HorizontalContentAlignment="Center" Margin="2,0" VerticalContentAlignment="Center" Visibility="Visible"/>
<Label x:Name="labDLMC" Content="{Binding RowData.Row[DLMC]}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="Visible"/>
</StackPanel>
</DataTemplate>
</dxg:GridColumn.CellTemplate>
</dxg:GridColumn>
<dxg:GridColumn Header="种植属性" Width="120">
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" Margin="2,0">
<Label x:Name="labDLBM" Content="{Binding RowData.Row[ZZSXDM]}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="Visible"/>
<Label Content="-" HorizontalContentAlignment="Center" Margin="2,0" VerticalContentAlignment="Center" Visibility="Visible"/>
<Label x:Name="labDLMC" Content="{Binding RowData.Row[ZZSXMC]}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="Visible"/>
</StackPanel>
</DataTemplate>
</dxg:GridColumn.CellTemplate>
</dxg:GridColumn>
<dxg:GridColumn Header="图斑细化" Width="120">
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" Margin="2,0">
<Label x:Name="labDLBM" Content="{Binding RowData.Row[TBXHDM]}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="Visible"/>
<Label Content="-" HorizontalContentAlignment="Center" Margin="2,0" VerticalContentAlignment="Center" Visibility="Visible"/>
<Label x:Name="labDLMC" Content="{Binding RowData.Row[TBXHMC]}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="Visible"/>
</StackPanel>
</DataTemplate>
</dxg:GridColumn.CellTemplate>
</dxg:GridColumn>
<dxg:GridColumn Header="权属属性" Width="120">
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" Margin="2,0">
<Label x:Name="labQSDM" Content="{Binding RowData.Row[QSDWDM]}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="Visible"/>
<Label Content="-" HorizontalContentAlignment="Center" Margin="2,0" VerticalContentAlignment="Center" Visibility="Visible"/>
<Label x:Name="labQSMC" Content="{Binding RowData.Row[QSDWMC]}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="Visible"/>
</StackPanel>
</DataTemplate>
</dxg:GridColumn.CellTemplate>
</dxg:GridColumn>
<dxg:GridColumn Header="坐落属性" Width="120">
<dxg:GridColumn.CellTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" Margin="2,0">
<Label x:Name="labZLBM" Content="{Binding RowData.Row[ZLDWDM]}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="Visible"/>
<Label Content="-" HorizontalContentAlignment="Center" Margin="2,0" VerticalContentAlignment="Center" Visibility="Visible"/>
<Label x:Name="labZLMC" Content="{Binding RowData.Row[ZLDWMC]}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Visibility="Visible"/>
</StackPanel>
</DataTemplate>
</dxg:GridColumn.CellTemplate>
</dxg:GridColumn>
<dxg:GridColumn Header="城镇村属性" Width="80" FieldName="CZCSXM" />
<dxg:GridColumn Header="耕地类型" Width="80" FieldName="GDLX" />
<dxg:GridColumn Header="权属性质" Width="80" FieldName="QSXZ" />
<dxg:GridColumn Header="耕地坡度级别" Width="80" FieldName="GDPDJB" />
<dxg:GridColumn Header="扣除系数" Width="80" FieldName="KCXS" />
</dxg:GridControl.Columns>
</dxg:GridControl>
</dxlc:LayoutItem>
</dxlc:LayoutGroup>
</dxlc:LayoutControl>
</Grid>
</UserControl>