|
@@ -1,137 +1,137 @@
|
|
|
<UserControl x:Class="PDF_Office.Views.Dialog.HomePageToolsDialogs.HomePageBatchProcessing.HomePageBackground.HomePageBackgroundCreateColorContent"
|
|
|
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
- xmlns:prism="http://prismlibrary.com/"
|
|
|
- prism:ViewModelLocator.AutoWireViewModel="True"
|
|
|
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:cus="clr-namespace:PDF_Office.CustomControl" xmlns:background="clr-namespace:PDF_Office.ViewModels.EditTools.Background" xmlns:CompositeControl="clr-namespace:PDF_Office.CustomControl.CompositeControl" d:DataContext="{d:DesignInstance Type=background:BackgroundCreateColorContentViewModel}"
|
|
|
- mc:Ignorable="d"
|
|
|
- d:DesignHeight="632"
|
|
|
- d:DesignWidth="260">
|
|
|
- <UserControl.Resources>
|
|
|
- <ResourceDictionary>
|
|
|
- <ResourceDictionary.MergedDictionaries>
|
|
|
- <ResourceDictionary Source="../../../../../Styles/CheckBoxStyle.xaml"/>
|
|
|
- </ResourceDictionary.MergedDictionaries>
|
|
|
- </ResourceDictionary>
|
|
|
- </UserControl.Resources>
|
|
|
- <Grid Margin="16,0,0,0">
|
|
|
- <Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="76"></RowDefinition>
|
|
|
- <RowDefinition Height="156"></RowDefinition>
|
|
|
- <RowDefinition Height="118"></RowDefinition>
|
|
|
- <RowDefinition Height="76"></RowDefinition>
|
|
|
- <RowDefinition></RowDefinition>
|
|
|
- </Grid.RowDefinitions>
|
|
|
- <Grid Grid.Row="0" >
|
|
|
- <StackPanel Orientation="Vertical">
|
|
|
- <TextBlock Text="背景颜色" Height="20" Width="48" HorizontalAlignment="Left" Margin="0,16,16,8" Foreground="#666666"></TextBlock>
|
|
|
- <!--<StackPanel Orientation="Horizontal">
|
|
|
- <Button Name="RedColorBtn" Height="32" Width="32" Margin="0,0,8,0" Command="{Binding ChangeColorCommand}" CommandParameter="{Binding ElementName=RedColorBtn}">
|
|
|
- <Rectangle Height="22" Width="22" Fill="Red" RadiusX="20" RadiusY="20"></Rectangle>
|
|
|
- </Button>
|
|
|
- <Button Name="GreenColorBtn" Height="32" Width="32" Margin="0,0,8,0" Command="{Binding ChangeColorCommand}" CommandParameter="{Binding ElementName=GreenColorBtn}">
|
|
|
- <Rectangle Height="22" Width="22" Fill="#008000" RadiusX="20" RadiusY="20"></Rectangle>
|
|
|
-
|
|
|
- </Button>
|
|
|
- <Button Height="32" Width="32" Margin="0,0,8,0"></Button>
|
|
|
- <Button Height="32" Width="32" Margin="0,0,8,0"></Button>
|
|
|
- <Button Height="32" Width="66">
|
|
|
- <Grid Height="32" Width="66" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition></ColumnDefinition>
|
|
|
- <ColumnDefinition></ColumnDefinition>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
- <Grid Grid.Column="0" Height="22" Width="22">
|
|
|
- <Rectangle Fill="{Binding StringColor, Mode=TwoWay}" RadiusX="20" RadiusY="20"></Rectangle>
|
|
|
- </Grid>
|
|
|
- </Grid>
|
|
|
- </Button>
|
|
|
- </StackPanel>-->
|
|
|
- <CompositeControl:ColorContent Grid.Row="1" Margin="0,-2,0,0" x:Name="cusColor"/>
|
|
|
- </StackPanel>
|
|
|
- </Grid>
|
|
|
- <Grid Grid.Row="1">
|
|
|
- <StackPanel Orientation="Vertical">
|
|
|
- <TextBlock Text="外观" Margin="0,16,0,8" Foreground="#666666"></TextBlock>
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
- <TextBlock Height="24" Width="24" Background= "Bisque" Margin="0,0,8,0"></TextBlock>
|
|
|
- <cus:CommonWritableComboBox HorizontalAlignment="Left" Width="66" Height="32" Margin="0,0,28,0" Minimum="-360" Maximum="360" TypeSouce="{Binding RotationList,Mode=TwoWay}" Value="{Binding RotationValue, Mode=TwoWay}" Text="{Binding RotationText,Mode=TwoWay}" ></cus:CommonWritableComboBox>
|
|
|
-
|
|
|
- <TextBlock Height="24" Width="24" Background="CadetBlue" Margin="0,0,8,0"></TextBlock>
|
|
|
- <cus:CommonWritableComboBox HorizontalAlignment="Left" Width="66" Height="32" TypeSouce="{Binding OpacityList,Mode=TwoWay}" Value="{Binding OpacityValue,Mode=TwoWay}" Text="{Binding OpacityText,Mode=TwoWay}" Loaded="CommonWritableComboBox_Loaded"></cus:CommonWritableComboBox>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Orientation="Horizontal"></StackPanel>
|
|
|
- <Grid Margin="0,19,0,0">
|
|
|
-
|
|
|
- <CheckBox Name="RelativeScaleCheckBox" Grid.Column="0" Style="{StaticResource EditToolsCheckBoxStyle}" Content="相对目标页面的比例" Margin="0,0,0,0" Height="22" IsChecked="{Binding IsRelativeScaleValue}"></CheckBox>
|
|
|
- </Grid>
|
|
|
- <cus:CommonWritableComboBox HorizontalAlignment="Left" Width="66" Height="32" Margin="0,11,0,0" TypeSouce="{Binding RelativeRatioList,Mode=TwoWay}" Value="{Binding RelativeRatioValue,Mode=TwoWay}" Text="{Binding RelativeScaleText,Mode=TwoWay}" IsEnabled="{Binding ElementName=RelativeScaleCheckBox,Path=IsChecked}" ></cus:CommonWritableComboBox>
|
|
|
-
|
|
|
-
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
- </Grid>
|
|
|
- <Grid Grid.Row="2" Margin="0,16,0,0">
|
|
|
- <StackPanel>
|
|
|
- <TextBlock Text="位置" FontSize="12" Foreground="#666666" Height="20" Width="24" HorizontalAlignment="Left"></TextBlock>
|
|
|
- <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
|
- <Grid Width="74" Height="74">
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition></ColumnDefinition>
|
|
|
- <ColumnDefinition></ColumnDefinition>
|
|
|
- <ColumnDefinition></ColumnDefinition>
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
- <Grid.RowDefinitions>
|
|
|
- <RowDefinition></RowDefinition>
|
|
|
- <RowDefinition></RowDefinition>
|
|
|
- <RowDefinition></RowDefinition>
|
|
|
- </Grid.RowDefinitions>
|
|
|
- <Button Grid.Column="0" Grid.Row="0" Tag="0" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[0],Mode=TwoWay}"></Button>
|
|
|
- <Button Grid.Column="1" Grid.Row="0" Tag="1" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[1], Mode=TwoWay}"></Button>
|
|
|
- <Button Grid.Column="2" Grid.Row="0" Tag="2" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[2], Mode=TwoWay}"></Button>
|
|
|
- <Button Grid.Column="0" Grid.Row="1" Tag="10" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[10], Mode=TwoWay}"></Button>
|
|
|
- <Button Grid.Column="1" Grid.Row="1" Tag="11" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[11], Mode=TwoWay}"></Button>
|
|
|
- <Button Grid.Column="2" Grid.Row="1" Tag="12" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[12], Mode=TwoWay}"></Button>
|
|
|
- <Button Grid.Column="0" Grid.Row="2" Tag="20" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[20], Mode=TwoWay}"></Button>
|
|
|
- <Button Grid.Column="1" Grid.Row="2" Tag="21" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[21], Mode=TwoWay}"></Button>
|
|
|
- <Button Grid.Column="2" Grid.Row="2" Tag="22" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[22], Mode=TwoWay}"></Button>
|
|
|
- </Grid>
|
|
|
- <StackPanel Orientation="Vertical" Margin="70,0,0,0">
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
- <TextBlock Text="X" Width="9" Height="20" VerticalAlignment="Center"/>
|
|
|
- <cus:NumericUpDown Width="66" Height="32" Margin="9,0,0,0" Text="{Binding HorizontalOffsetValue, Mode=TwoWay}" ></cus:NumericUpDown>
|
|
|
-
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
|
- <TextBlock Text="Y" Width="9" Height="20" VerticalAlignment="Center"/>
|
|
|
- <cus:NumericUpDown Width="66" Height="32" Margin="9,0,0,0" Text="{Binding VerticalOffsetValue, Mode=TwoWay}"></cus:NumericUpDown>
|
|
|
- </StackPanel>
|
|
|
- </StackPanel>
|
|
|
-
|
|
|
- </StackPanel>
|
|
|
- <CheckBox Margin="0,24,0,0" >
|
|
|
- <TextBlock Text="平铺" Width="144" Height="22" FontSize="14"/>
|
|
|
- </CheckBox>
|
|
|
- <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
|
- <StackPanel Orientation="Horizontal">
|
|
|
- <TextBlock Text="X" Width="9" Height="20" VerticalAlignment="Center"/>
|
|
|
- <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
|
|
|
- </StackPanel>
|
|
|
- <StackPanel Orientation="Horizontal" >
|
|
|
- <TextBlock Text="Y" Width="9" Height="20" VerticalAlignment="Center"/>
|
|
|
- <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
|
|
|
- </StackPanel>
|
|
|
- </StackPanel>
|
|
|
- </StackPanel>
|
|
|
- </Grid>
|
|
|
- <Grid Grid.Row="3" Margin="0,16,0,0">
|
|
|
- <StackPanel Orientation="Vertical">
|
|
|
- <TextBlock Text="页面范围" FontSize="12" Foreground="#666666" Height="20" Width="48" HorizontalAlignment="Left"></TextBlock>
|
|
|
- <cus:WritableComboBox Height="32" Width="228" Margin="0,8,0,0" HorizontalAlignment="Left" Text="{Binding PageRangeText,Mode=TwoWay}" SelectedIndex="{Binding PageRangeSelectIndex,Mode=TwoWay}"></cus:WritableComboBox>
|
|
|
- </StackPanel>
|
|
|
- </Grid>
|
|
|
- <Grid Grid.Row="4">
|
|
|
- </Grid>
|
|
|
- </Grid>
|
|
|
-</UserControl>
|
|
|
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
+ xmlns:prism="http://prismlibrary.com/"
|
|
|
+ prism:ViewModelLocator.AutoWireViewModel="True"
|
|
|
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:cus="clr-namespace:PDF_Office.CustomControl" xmlns:background="clr-namespace:PDF_Office.ViewModels.EditTools.Background" xmlns:CompositeControl="clr-namespace:PDF_Office.CustomControl.CompositeControl" d:DataContext="{d:DesignInstance Type=background:BackgroundCreateColorContentViewModel}"
|
|
|
+ mc:Ignorable="d"
|
|
|
+ d:DesignHeight="632"
|
|
|
+ d:DesignWidth="260">
|
|
|
+ <UserControl.Resources>
|
|
|
+ <ResourceDictionary>
|
|
|
+ <ResourceDictionary.MergedDictionaries>
|
|
|
+ <ResourceDictionary Source="../../../../../Styles/CheckBoxStyle.xaml"/>
|
|
|
+ </ResourceDictionary.MergedDictionaries>
|
|
|
+ </ResourceDictionary>
|
|
|
+ </UserControl.Resources>
|
|
|
+ <Grid Margin="16,0,0,0">
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="76"></RowDefinition>
|
|
|
+ <RowDefinition Height="156"></RowDefinition>
|
|
|
+ <RowDefinition Height="118"></RowDefinition>
|
|
|
+ <RowDefinition Height="76"></RowDefinition>
|
|
|
+ <RowDefinition></RowDefinition>
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Grid Grid.Row="0" >
|
|
|
+ <StackPanel Orientation="Vertical">
|
|
|
+ <TextBlock Text="背景颜色" Height="20" Width="48" HorizontalAlignment="Left" Margin="0,16,16,8" Foreground="#666666"></TextBlock>
|
|
|
+ <!--<StackPanel Orientation="Horizontal">
|
|
|
+ <Button Name="RedColorBtn" Height="32" Width="32" Margin="0,0,8,0" Command="{Binding ChangeColorCommand}" CommandParameter="{Binding ElementName=RedColorBtn}">
|
|
|
+ <Rectangle Height="22" Width="22" Fill="Red" RadiusX="20" RadiusY="20"></Rectangle>
|
|
|
+ </Button>
|
|
|
+ <Button Name="GreenColorBtn" Height="32" Width="32" Margin="0,0,8,0" Command="{Binding ChangeColorCommand}" CommandParameter="{Binding ElementName=GreenColorBtn}">
|
|
|
+ <Rectangle Height="22" Width="22" Fill="#008000" RadiusX="20" RadiusY="20"></Rectangle>
|
|
|
+
|
|
|
+ </Button>
|
|
|
+ <Button Height="32" Width="32" Margin="0,0,8,0"></Button>
|
|
|
+ <Button Height="32" Width="32" Margin="0,0,8,0"></Button>
|
|
|
+ <Button Height="32" Width="66">
|
|
|
+ <Grid Height="32" Width="66" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition></ColumnDefinition>
|
|
|
+ <ColumnDefinition></ColumnDefinition>
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <Grid Grid.Column="0" Height="22" Width="22">
|
|
|
+ <Rectangle Fill="{Binding StringColor, Mode=TwoWay}" RadiusX="20" RadiusY="20"></Rectangle>
|
|
|
+ </Grid>
|
|
|
+ </Grid>
|
|
|
+ </Button>
|
|
|
+ </StackPanel>-->
|
|
|
+ <CompositeControl:ColorContent Grid.Row="1" Margin="0,-2,0,0" x:Name="cusColor"/>
|
|
|
+ </StackPanel>
|
|
|
+ </Grid>
|
|
|
+ <Grid Grid.Row="1">
|
|
|
+ <StackPanel Orientation="Vertical">
|
|
|
+ <TextBlock Text="外观" Margin="0,16,0,8" Foreground="#666666"></TextBlock>
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+ <TextBlock Height="24" Width="24" Background= "Bisque" Margin="0,0,8,0"></TextBlock>
|
|
|
+ <cus:CommonWritableComboBox HorizontalAlignment="Left" Width="66" Height="32" Margin="0,0,28,0" Minimum="-360" Maximum="360" TypeSouce="{Binding RotationList,Mode=TwoWay}" Value="{Binding RotationValue, Mode=TwoWay}" Text="{Binding RotationText,Mode=TwoWay}" ></cus:CommonWritableComboBox>
|
|
|
+
|
|
|
+ <TextBlock Height="24" Width="24" Background="CadetBlue" Margin="0,0,8,0"></TextBlock>
|
|
|
+ <cus:CommonWritableComboBox HorizontalAlignment="Left" Width="66" Height="32" TypeSouce="{Binding OpacityList,Mode=TwoWay}" Value="{Binding OpacityValue,Mode=TwoWay}" Text="{Binding OpacityText,Mode=TwoWay}" Loaded="CommonWritableComboBox_Loaded"></cus:CommonWritableComboBox>
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel Orientation="Horizontal"></StackPanel>
|
|
|
+ <Grid Margin="0,19,0,0">
|
|
|
+
|
|
|
+ <CheckBox Name="RelativeScaleCheckBox" Grid.Column="0" Style="{StaticResource EditToolsCheckBoxStyle}" Content="相对目标页面的比例" Margin="0,0,0,0" Height="22" IsChecked="{Binding IsRelativeScaleValue}"></CheckBox>
|
|
|
+ </Grid>
|
|
|
+ <cus:CommonWritableComboBox HorizontalAlignment="Left" Width="66" Height="32" Margin="0,11,0,0" TypeSouce="{Binding RelativeRatioList,Mode=TwoWay}" Value="{Binding RelativeRatioValue,Mode=TwoWay}" Text="{Binding RelativeScaleText,Mode=TwoWay}" IsEnabled="{Binding ElementName=RelativeScaleCheckBox,Path=IsChecked}" ></cus:CommonWritableComboBox>
|
|
|
+
|
|
|
+
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
+ </Grid>
|
|
|
+ <Grid Grid.Row="2" Margin="0,16,0,0">
|
|
|
+ <StackPanel>
|
|
|
+ <TextBlock Text="位置" FontSize="12" Foreground="#666666" Height="20" Width="24" HorizontalAlignment="Left"></TextBlock>
|
|
|
+ <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
|
+ <Grid Width="74" Height="74">
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition></ColumnDefinition>
|
|
|
+ <ColumnDefinition></ColumnDefinition>
|
|
|
+ <ColumnDefinition></ColumnDefinition>
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition></RowDefinition>
|
|
|
+ <RowDefinition></RowDefinition>
|
|
|
+ <RowDefinition></RowDefinition>
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Button Grid.Column="0" Grid.Row="0" Tag="0" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[0],Mode=TwoWay}"></Button>
|
|
|
+ <Button Grid.Column="1" Grid.Row="0" Tag="1" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[1], Mode=TwoWay}"></Button>
|
|
|
+ <Button Grid.Column="2" Grid.Row="0" Tag="2" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[2], Mode=TwoWay}"></Button>
|
|
|
+ <Button Grid.Column="0" Grid.Row="1" Tag="10" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[10], Mode=TwoWay}"></Button>
|
|
|
+ <Button Grid.Column="1" Grid.Row="1" Tag="11" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[11], Mode=TwoWay}"></Button>
|
|
|
+ <Button Grid.Column="2" Grid.Row="1" Tag="12" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[12], Mode=TwoWay}"></Button>
|
|
|
+ <Button Grid.Column="0" Grid.Row="2" Tag="20" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[20], Mode=TwoWay}"></Button>
|
|
|
+ <Button Grid.Column="1" Grid.Row="2" Tag="21" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[21], Mode=TwoWay}"></Button>
|
|
|
+ <Button Grid.Column="2" Grid.Row="2" Tag="22" Command="{Binding ChangeLocationCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}, Path=Tag}" IsEnabled="{Binding GetLocationFromNumber[22], Mode=TwoWay}"></Button>
|
|
|
+ </Grid>
|
|
|
+ <StackPanel Orientation="Vertical" Margin="70,0,0,0">
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+ <TextBlock Text="X" Width="9" Height="20" VerticalAlignment="Center"/>
|
|
|
+ <cus:NumericUpDown Width="66" Height="32" Margin="9,0,0,0" Text="{Binding HorizontalOffsetValue, Mode=TwoWay}" ></cus:NumericUpDown>
|
|
|
+
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
|
+ <TextBlock Text="Y" Width="9" Height="20" VerticalAlignment="Center"/>
|
|
|
+ <cus:NumericUpDown Width="66" Height="32" Margin="9,0,0,0" Text="{Binding VerticalOffsetValue, Mode=TwoWay}"></cus:NumericUpDown>
|
|
|
+ </StackPanel>
|
|
|
+ </StackPanel>
|
|
|
+
|
|
|
+ </StackPanel>
|
|
|
+ <CheckBox Margin="0,24,0,0" >
|
|
|
+ <TextBlock Text="平铺" Width="144" Height="22" FontSize="14"/>
|
|
|
+ </CheckBox>
|
|
|
+ <StackPanel Orientation="Horizontal" Margin="0,8,0,0">
|
|
|
+ <StackPanel Orientation="Horizontal">
|
|
|
+ <TextBlock Text="X" Width="9" Height="20" VerticalAlignment="Center"/>
|
|
|
+ <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
|
|
|
+ </StackPanel>
|
|
|
+ <StackPanel Orientation="Horizontal" >
|
|
|
+ <TextBlock Text="Y" Width="9" Height="20" VerticalAlignment="Center"/>
|
|
|
+ <TextBox Width="66" Height="32" Margin="9,0,0,0"></TextBox>
|
|
|
+ </StackPanel>
|
|
|
+ </StackPanel>
|
|
|
+ </StackPanel>
|
|
|
+ </Grid>
|
|
|
+ <Grid Grid.Row="3" Margin="0,16,0,0">
|
|
|
+ <StackPanel Orientation="Vertical">
|
|
|
+ <TextBlock Text="页面范围" FontSize="12" Foreground="#666666" Height="20" Width="48" HorizontalAlignment="Left"></TextBlock>
|
|
|
+ <cus:WritableComboBox Height="32" Width="228" Margin="0,8,0,0" HorizontalAlignment="Left" Text="{Binding PageRangeText,Mode=TwoWay}" SelectedIndex="{Binding PageRangeSelectIndex,Mode=TwoWay}"></cus:WritableComboBox>
|
|
|
+ </StackPanel>
|
|
|
+ </Grid>
|
|
|
+ <Grid Grid.Row="4">
|
|
|
+ </Grid>
|
|
|
+ </Grid>
|
|
|
+</UserControl>
|