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

130 lines
7.8 KiB

<windows:BaseWindow
xmlns:windows="clr-namespace:KGIS.Framework.Utils;assembly=KGIS.Framework.Utils" x:Class="KGIS.Plugin.LayerProperty.View.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"
d:DesignHeight="180" d:DesignWidth="700" 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="/KGIS.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></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></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>
<WrapPanel Grid.Column="0" VerticalAlignment="Center">
<Label Content="图层边框样式:" Margin="0,0,5,0" VerticalAlignment="Center" />
<ComboBox x:Name="LayerBorderStyle" Width="115" Height="25" SelectedValuePath="Tag">
<ComboBoxItem Tag="0">实线</ComboBoxItem>
<ComboBoxItem Tag="1">虚线</ComboBoxItem>
<ComboBoxItem Tag="2"></ComboBoxItem>
<ComboBoxItem Tag="3">点划线</ComboBoxItem>
<ComboBoxItem Tag="4">双点划线</ComboBoxItem>
</ComboBox>
</WrapPanel>
<WrapPanel Grid.Column="1" VerticalAlignment="Center">
<Label Content="图层边框宽度:" Margin="0,0,5,0" VerticalAlignment="Center"/>
<TextBox x:Name="LayerBorderWidth" Width="115" Height="25" PreviewKeyDown="LayerBorderWidth_PreviewKeyDown" MaxLength="1" />
</WrapPanel>
<Grid Grid.Column="2" VerticalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="85"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Label Content="图层标注字段:" Margin="5,0,0,0"/>
<ComboBox Grid.Column="1" Grid.Row="0" Margin="-30,0,0,0" x:Name="LayerLabelName" Width="115" Height="25" SelectedValuePath="Tag">
</ComboBox>
</Grid>
</Grid>
<Grid VerticalAlignment="Center" Grid.Row="2">
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="85"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.Row="0" Content="图层填充颜色:" Margin="5,0,0,0"/>
<StackPanel Grid.Column="1" Grid.Row="0" Orientation="Horizontal">
<dxe:PopupColorEdit Grid.Column="1" Grid.Row="1" Name="LayerFillColor" Width="115" />
</StackPanel>
</Grid>
<Grid Grid.Column="1">
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="80"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.Row="0" Content="图层边框颜色:"/>
<StackPanel Grid.Column="1" Grid.Row="0" Orientation="Horizontal">
<dxe:PopupColorEdit Grid.Column="1" Grid.Row="1" Name="LayerBorderColor" Width="115" />
</StackPanel>
</Grid>
<Grid Grid.Column="2">
<Grid.RowDefinitions>
<RowDefinition Height="25"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="80"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.Row="0" Content="标注填充颜色:"/>
<StackPanel Grid.Column="1" Grid.Row="0" Orientation="Horizontal">
<dxe:PopupColorEdit Grid.Column="1" Grid.Row="1" Name="LayerLableColor" Width="115" />
</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"/>
<!--<Border Grid.Column="2" x:Name="btnSave" Background="#FF0093DF" Width="96" Height="25" Cursor="Hand" HorizontalAlignment="Right" Margin="0,0,35,5" MouseLeftButtonDown="btnSave_MouseLeftButtonDown" >
<TextBlock Text="保存" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="16" Foreground="#ffffff" />
</Border>-->
</Grid>
</Grid>
</Border>
</windows:BaseWindow>