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

58 lines
4.7 KiB

4 months ago
<UserControl x:Class="Kingo.Plugin.ResultsOfProof.View.JZTBXX.BGFrmJZTBList"
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:cmd="clr-namespace:ReactiveUI;assembly=ReactiveUI"
mc:Ignorable="d" d:DesignHeight="500" d:DesignWidth="1200">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
</Grid.RowDefinitions>
<dxg:GridControl AutoPopulateColumns="False" Name="gcXJJZTB" AutoGenerateColumns="AddNew" SelectionMode="Row"
CurrentItemChanged="{cmd:EventBinding CurrentItemChangedCommand,CommandParameter=Event}"
SelectionChanged="{cmd:EventBinding SelectionChangedCommand,CommandParameter=Event}"
FilterChanged="{cmd:EventBinding FilterChangedCommand,CommandParameter=Event}"
EndSorting="{cmd:EventBinding EndSortingCommand,CommandParameter=Event}"
AutoGeneratedColumns="{cmd:EventBinding GridControlAutoGeneratedColumns,CommandParameter=Event}"
ItemsSource="{Binding Data, UpdateSourceTrigger=PropertyChanged, ValidatesOnNotifyDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}"
SelectedItems="{Binding CurrentSelectedItems, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" CurrentItem="{Binding CurrentItem, Mode=TwoWay}">
<dxg:GridControl.View>
<dxg:TableView Name="tvXJJZTB" ShowTotalSummary="False"
ShowSearchPanelMode="Never" AllowGrouping="True" MultiSelectMode="Row" ShowGroupPanel="False" ShowAutoFilterRow="True" AllowEditing="False"
PrintSelectedRowsOnly="{Binding TableViewPrintSelectedRowsOnly, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
</dxg:TableView>
</dxg:GridControl.View>
<dxg:GridControl.Columns>
</dxg:GridControl.Columns>
</dxg:GridControl>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Grid.Row="1" >
<Label Content="图层总条数:" VerticalContentAlignment="Center" Margin="5,0,0,0" ></Label>
<Label x:Name="lblCount" VerticalContentAlignment="Center" Margin="5,0,0,0" Content="{Binding Count, UpdateSourceTrigger=PropertyChanged}"></Label>
<Label Content=" 表格当前显示条数:" VerticalContentAlignment="Center" Margin="5,0,0,0" ></Label>
<Label x:Name="lblShowCount" VerticalContentAlignment="Center" Margin="5,0,0,0" Content="{Binding ShowNum, UpdateSourceTrigger=PropertyChanged}"></Label>
</StackPanel>
<Grid Grid.Row="2" Margin="5,0,5,5" Height="30" VerticalAlignment="Bottom">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="500"></ColumnDefinition>
</Grid.ColumnDefinitions>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Column="0">
<Label Content="过滤条件:" />
<CheckBox Content="挂接地类不一致" VerticalAlignment="Center" IsChecked="{Binding f_gjdlbyz,UpdateSourceTrigger=PropertyChanged}" Margin="5,0" Command="{Binding FilterDataCmd}" />
<CheckBox Content="未挂接图斑" VerticalAlignment="Center" IsChecked="{Binding f_wgj,UpdateSourceTrigger=PropertyChanged}" Margin="5,0" Command="{Binding FilterDataCmd}" />
<CheckBox Content="挂接多个图斑" VerticalAlignment="Center" IsChecked="{Binding f_gjdtb,UpdateSourceTrigger=PropertyChanged}" Margin="5,0" Command="{Binding FilterDataCmd}" />
</StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Column="1">
<Button x:Name="btnGLTBBSM" Content="自动挂接" Margin="15,0,15,0" Width="120" Command="{Binding RelationTBBSMCmd }" ></Button>
<Button x:Name="btnRGJY" Content="人工挂接" Margin="15,0,15,0" Width="120" Command="{Binding RGJYCmd }"></Button>
<Button x:Name="btnExportJZTBXXB" Content="导出举证图斑信息表" Margin="15,0,15,0" Width="150" Command="{Binding ExportJZTBXXBCmd }"></Button>
</StackPanel>
</Grid>
</Grid>
</UserControl>