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

37 lines
2.6 KiB

<UserControl x:Class="Kingo.Plugin.SystemSetting.View.ViewSystemSetting.ViewBGSetting"
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"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid Background="White">
<GroupBox Header="基础数据" HorizontalAlignment="Stretch" Margin="8" VerticalAlignment="Stretch">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition />
<RowDefinition Height="30"/>
</Grid.RowDefinitions>
<Label Content="图层配置:" VerticalContentAlignment="Center" />
<dxg:GridControl Grid.Row="1" x:Name="dgCtrl" ItemsSource="{Binding}" AutoGenerateColumns="None" Margin="5" EnableSmartColumnsGeneration="True" >
<dxg:GridControl.View>
<dxg:TableView AllowEditing="False" IsColumnMenuEnabled="False" AllowGrouping="False" AllowColumnMoving="False" AllowColumnFiltering="False" AllowResizing="True" AllowSorting="False" ShowGroupPanel="False"/>
</dxg:GridControl.View>
<dxg:GridColumn FieldName="FcName" Header="图层名" AllowEditing="True" Width="150" HorizontalHeaderContentAlignment="Center" IsEnabled="True"/>
<dxg:GridColumn FieldName="LayerName" Header="图层别名" Width="150" HorizontalHeaderContentAlignment="Center" IsEnabled="False"/>
<!--<dxg:GridColumn FieldName="Order" Header="排序" AllowEditing="True" Width="150" HorizontalHeaderContentAlignment="Center" IsEnabled="True"/>-->
<dxg:GridColumn FieldName="Required" Header="是否必选图层" Width="150" AllowSorting="False" AllowMoving="False" AllowEditing="True" HorizontalHeaderContentAlignment="Center" >
<dxg:GridColumn.EditSettings>
<dxe:CheckEditSettings/>
</dxg:GridColumn.EditSettings>
</dxg:GridColumn>
</dxg:GridControl>
<CheckBox Grid.Row="2" Name="checkAll" Content="全选/反选" IsChecked="False" Click="CheckAll_Click" />
</Grid>
</GroupBox>
</Grid>
</UserControl>