|
|
|
|
<windows:BaseWindow xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils"
|
|
|
|
|
x:Class="Kingo.Plugin.DTBJK_XJ.View.UCSetAllMapImageUrls"
|
|
|
|
|
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:local="clr-namespace:Kingo.Plugin.DTBJK_XJ.View"
|
|
|
|
|
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
|
|
|
|
|
xmlns:btn="clr-namespace:KUI.Button;assembly=KUI"
|
|
|
|
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
|
|
|
|
|
xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
|
|
|
|
|
xmlns:kuiBtn="clr-namespace:KUI.Button;assembly=KUI"
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
Height="250" Width="550" Title="设置影像地址">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Left" Grid.Row="0">
|
|
|
|
|
<!--<btn:KImgButton Content="新增" Width="90" Height="30" x:Name="btnAdd" Click="btnAdd_Click" HorizontalAlignment="Left" Margin="5,0,0,0"/>-->
|
|
|
|
|
<btn:KImgButton Content="删除" Width="90" Height="30" x:Name="btnDelete" Click="btnDelete_Click" HorizontalAlignment="Left" Margin="5,0,0,0"/>
|
|
|
|
|
<btn:KImgButton Content="保存" Width="90" Height="30" x:Name="btnSave" Click="btnSave_Click" HorizontalAlignment="Left" Margin="5,0,0,0"/>
|
|
|
|
|
<btn:KImgButton Content="取消" Width="90" Height="30" x:Name="btnCancel" Click="btnCancel_Click" HorizontalAlignment="Right" Margin="5,0,0,0"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<Grid Grid.Row ="1">
|
|
|
|
|
<!--<dxg:GridControl x:Name="dgTableMapping" CustomColumnDisplayText="dgTableMapping_CustomColumnDisplayText" SelectionMode="Cell" HorizontalAlignment="Center">
|
|
|
|
|
<dxg:GridControl.View>
|
|
|
|
|
<dxg:TableView Name="tvAttrDTB" IsColumnMenuEnabled="False" RowMinHeight="30" AllowColumnFiltering="True" ShowTotalSummary="False" AllowSorting="False" AllowGrouping="False" ShowGroupPanel="False" AllowEditing="True" HorizontalContentAlignment="Center" VerticalScrollbarVisibility="Auto" HorizontalAlignment="Center" ShowAutoFilterRow="True" AllowBandMultiRow="False"/>
|
|
|
|
|
</dxg:GridControl.View>
|
|
|
|
|
<dxg:GridControl.Columns>
|
|
|
|
|
<dxg:GridColumn Header="导入状态" x:Name="chkSelectedAll" Width="50" HorizontalHeaderContentAlignment="Center" >
|
|
|
|
|
<dxg:GridColumn.HeaderTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<dxe:CheckEdit x:Name="AllCheckEidt" HorizontalAlignment="Center" HorizontalContentAlignment="Center" IsChecked="False" EditValueChanged="AllCheckEidt_EditValueChanged" />
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</dxg:GridColumn.HeaderTemplate>
|
|
|
|
|
<dxg:GridColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
|
|
|
|
<CheckBox x:Name="checkBox" HorizontalAlignment="Center" VerticalAlignment="Center" Click="checkBox_Click" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</dxg:GridColumn.CellTemplate>
|
|
|
|
|
</dxg:GridColumn>
|
|
|
|
|
<dxg:GridColumn Header="影像图层名" Width="100" ReadOnly="False" HorizontalHeaderContentAlignment="Center">
|
|
|
|
|
<dxg:GridColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<TextBox x:Name="Name" Text="{Binding AlllistTableMapping.Path ,Mode=TwoWay}" />
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</dxg:GridColumn.CellTemplate>
|
|
|
|
|
</dxg:GridColumn>
|
|
|
|
|
<dxg:GridColumn Header="影像图层别名" Width="100" ReadOnly="False" HorizontalHeaderContentAlignment="Center">
|
|
|
|
|
<dxg:GridColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<TextBox Text="" Name="Alias" />
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</dxg:GridColumn.CellTemplate>
|
|
|
|
|
</dxg:GridColumn>
|
|
|
|
|
<dxg:GridColumn Header="影像图层地址" Width="*" ReadOnly="False" HorizontalHeaderContentAlignment="Center">
|
|
|
|
|
<dxg:GridColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<TextBox Text="" Name="Path" />
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</dxg:GridColumn.CellTemplate>
|
|
|
|
|
</dxg:GridColumn>
|
|
|
|
|
</dxg:GridControl.Columns>
|
|
|
|
|
</dxg:GridControl>-->
|
|
|
|
|
|
|
|
|
|
<DataGrid x:Name="dgTableMapping" AutoGenerateColumns="False" CanUserAddRows="True" Margin="5px,1" MinHeight="30" >
|
|
|
|
|
<DataGrid.Columns>
|
|
|
|
|
<DataGridTemplateColumn Header="导入状态" x:Name="chkSelectedAll" Width="50">
|
|
|
|
|
<DataGridTemplateColumn.HeaderTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<CheckBox x:Name="AllCheckEidt" HorizontalAlignment="Center" HorizontalContentAlignment="Center" IsChecked="False"/>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</DataGridTemplateColumn.HeaderTemplate>
|
|
|
|
|
<DataGridTemplateColumn.CellTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
|
|
|
|
<CheckBox x:Name="checkBox" HorizontalAlignment="Center" VerticalAlignment="Center" Click="checkBox_Click" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</DataGridTemplateColumn.CellTemplate>
|
|
|
|
|
</DataGridTemplateColumn>
|
|
|
|
|
|
|
|
|
|
<DataGridTextColumn Header="影像图层名" Width="110" Binding="{Binding Name}" IsReadOnly="False"/>
|
|
|
|
|
<DataGridTextColumn Header="影像图层别名" Width="110" Binding="{Binding Alias}" IsReadOnly="False"/>
|
|
|
|
|
<DataGridTextColumn Header="影像图层地址" Width="*" Binding="{Binding Path}" IsReadOnly="False" />
|
|
|
|
|
|
|
|
|
|
</DataGrid.Columns>
|
|
|
|
|
</DataGrid>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</Grid>
|
|
|
|
|
</windows:BaseWindow>
|
|
|
|
|
|