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

143 lines
8.6 KiB

<windows:BaseWindow
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils" x:Class="Kingo.Plugin.MapView.Views.UCLayerStyleSet"
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:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
xmlns:kui="clr-namespace:KUI;assembly=KUI"
xmlns:btn="clr-namespace:KUI.Button;assembly=KUI"
mc:Ignorable="d"
WindowStartupLocation="CenterScreen"
Height="180" Width="600" Title="样式设置" ResizeMode="NoResize">
<Border >
<Grid Background="White" Margin="1">
<Grid.RowDefinitions>
<RowDefinition Height="0"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
</Grid.RowDefinitions>
<Border Background="#0093DF" MouseDown="Border_MouseDown" Visibility="Collapsed">
<Grid>
<Label Content="样式设置" Foreground="White" Margin="10,2,0,0" FontSize="15" ></Label>
<!-- kimgbutton-->
<btn:KImgButton Click="Close" Margin="0,3,10,0" ToolTip="关闭" FIcon="/Kingo.Plugin.MakeTaskPackage;component/Images/Close.png" FIconSize="20" VerticalAlignment="Center" HorizontalAlignment="Right" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
</Grid>
</Border>
<Grid VerticalAlignment="Center" Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="200"></ColumnDefinition>
<ColumnDefinition Width="200"></ColumnDefinition>
<ColumnDefinition Width="200"></ColumnDefinition>
</Grid.ColumnDefinitions>
<WrapPanel VerticalAlignment="Center" Visibility="Collapsed">
<Label Content="图层:" Margin="5,0,5,0" VerticalAlignment="Center"/>
<ComboBox x:Name="Layer" Width="163" Height="25" SelectedValuePath="Tag" SelectionChanged="Layer_SelectionChanged">
</ComboBox>
</WrapPanel>
<Grid Grid.Column="0" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="90"/>
<ColumnDefinition Width="110"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.Row="0" Content="图层边框样式:" Margin="0,0,5,0" VerticalAlignment="Center" />
<ComboBox x:Name="LayerBorderStyle" Width="80" Height="25" SelectedValuePath="Tag" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Left" >
<ComboBoxItem Tag="0">实线</ComboBoxItem>
<ComboBoxItem Tag="1">虚线</ComboBoxItem>
<ComboBoxItem Tag="2"></ComboBoxItem>
<ComboBoxItem Tag="3">点划线</ComboBoxItem>
<ComboBoxItem Tag="4">双点划线</ComboBoxItem>
</ComboBox>
</Grid>
<Grid Grid.Column="1" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="90"/>
<ColumnDefinition Width="110"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.Row="0" Content="图层边框宽度:" Margin="0,0,5,0" VerticalAlignment="Center"/>
<TextBox x:Name="LayerBorderWidth" Width="80" PreviewKeyDown="LayerBorderWidth_PreviewKeyDown" MaxLength="1" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Left"/>
</Grid>
<Grid Grid.Column="2" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="90"/>
<ColumnDefinition Width="110"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.Row="0" Content="图层标注字段:" Margin="0,0,5,0" VerticalAlignment="Center"/>
<ComboBox Grid.Column="1" Grid.Row="0" x:Name="LayerLabelName" Width="80" Height="25" SelectedValuePath="Tag" HorizontalAlignment="Left">
</ComboBox>
</Grid>
</Grid>
<Grid VerticalAlignment="Center" Grid.Row="2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="200"></ColumnDefinition>
<ColumnDefinition Width="200"></ColumnDefinition>
<ColumnDefinition Width="200"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="90"/>
<ColumnDefinition Width="110"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.Row="0" Content="图层填充颜色:" Margin="0,0,5,0" VerticalAlignment="Center" />
<StackPanel Grid.Column="1" Grid.Row="0" Orientation="Horizontal">
<dxe:PopupColorEdit Grid.Column="1" Grid.Row="1" Name="LayerFillColor" Width="80" HorizontalAlignment="Left"/>
</StackPanel>
</Grid>
<Grid Grid.Column="1">
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="90"/>
<ColumnDefinition Width="110"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.Row="0" Content="图层边框颜色:" Margin="0,0,5,0" VerticalAlignment="Center"/>
<StackPanel Grid.Column="1" Grid.Row="0" Orientation="Horizontal">
<dxe:PopupColorEdit Grid.Column="1" Grid.Row="1" Name="LayerBorderColor" Width="80" HorizontalAlignment="Left" />
</StackPanel>
</Grid>
<Grid Grid.Column="2">
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="90"/>
<ColumnDefinition Width="110"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.Row="0" Content="标注填充颜色:" Margin="0,0,5,0" VerticalAlignment="Center"/>
<StackPanel Grid.Column="1" Grid.Row="0" Orientation="Horizontal">
<dxe:PopupColorEdit Grid.Column="1" Grid.Row="1" Name="LayerLableColor" Width="80" HorizontalAlignment="Left" />
</StackPanel>
</Grid>
</Grid>
<Grid Grid.Row="3" VerticalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<kui:KFontIconButton FIcon="" Content="保存" x:Name="btnSave" Grid.Column="2" Width="96" Height="25" HorizontalAlignment="Right" Margin="0,0,35,5" Click="btnSave_MouseLeftButtonDown"/>
</Grid>
</Grid>
</Border>
</windows:BaseWindow>