|
@@ -27,11 +27,23 @@
|
|
<StackPanel Orientation="Vertical">
|
|
<StackPanel Orientation="Vertical">
|
|
<TextBlock Text="背景颜色" Height="20" Width="48" HorizontalAlignment="Left" Margin="0,16,16,8" Foreground="#666666"> </TextBlock>
|
|
<TextBlock Text="背景颜色" Height="20" Width="48" HorizontalAlignment="Left" Margin="0,16,16,8" Foreground="#666666"> </TextBlock>
|
|
<StackPanel Orientation="Horizontal">
|
|
<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 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="32" Margin="0,0,8,0"></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="32" Margin="0,0,8,0"></Button>
|
|
- <Button Height="32" Width="32" Margin="0,0,8,0"></Button>
|
|
|
|
- <Button Height="32" Width="66"></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="AliceBlue" RadiusX="20" RadiusY="20"></Rectangle>
|
|
|
|
+ </Grid>
|
|
|
|
+ </Grid>
|
|
|
|
+ </Button>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
@@ -40,22 +52,17 @@
|
|
<TextBlock Text="外观" Margin="0,16,0,8" Foreground="#666666"></TextBlock>
|
|
<TextBlock Text="外观" Margin="0,16,0,8" Foreground="#666666"></TextBlock>
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Height="24" Width="24" Background= "Bisque" Margin="0,0,8,0"></TextBlock>
|
|
<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"></cus:CommonWritableComboBox>
|
|
|
|
|
|
+ <cus:CommonWritableComboBox HorizontalAlignment="Left" Width="66" Height="32" Margin="0,0,28,0" TypeSouce="{Binding RotationList, Mode=TwoWay}" Value="{Binding RotationNumber, Mode=TwoWay}" Text="0" ></cus:CommonWritableComboBox>
|
|
|
|
|
|
<TextBlock Height="24" Width="24" Background="CadetBlue" Margin="0,0,8,0"></TextBlock>
|
|
<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}"></cus:CommonWritableComboBox>
|
|
|
|
|
|
+ <cus:CommonWritableComboBox HorizontalAlignment="Left" Width="66" Height="32" TypeSouce="{Binding OpacityList, Mode=TwoWay}" Value="{Binding OpacityNumber, Mode=TwoWay}" Text="100 %"></cus:CommonWritableComboBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal"></StackPanel>
|
|
<StackPanel Orientation="Horizontal"></StackPanel>
|
|
<Grid Margin="0,19,0,0">
|
|
<Grid Margin="0,19,0,0">
|
|
- <Grid.ColumnDefinitions>
|
|
|
|
- <ColumnDefinition Width="30"></ColumnDefinition>
|
|
|
|
- <ColumnDefinition ></ColumnDefinition>
|
|
|
|
|
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
|
- <CheckBox Grid.Column="0" Style="{StaticResource CheckBoxStyle}" Content="相对目标页面的比例" Margin="0,0,0,0" Height="22"></CheckBox>
|
|
|
|
- <TextBlock Grid.Column="1" Text="相对目标页面的比例" Height="22" ></TextBlock>
|
|
|
|
|
|
+ <CheckBox Grid.Column="0" Style="{StaticResource CheckBoxStyle}" Content="相对目标页面的比例" Margin="0,0,0,0" Height="22" ></CheckBox>
|
|
</Grid>
|
|
</Grid>
|
|
- <cus:CommonWritableComboBox HorizontalAlignment="Left" Width="66" Height="32" Margin="0,11,0,0"></cus:CommonWritableComboBox>
|
|
|
|
|
|
+ <cus:CommonWritableComboBox HorizontalAlignment="Left" Width="66" Height="32" Margin="0,11,0,0" TypeSouce="{Binding RelativeRatioList}" Value="{Binding RelativeRatioNumber, Mode=TwoWay}" Text="50 %"></cus:CommonWritableComboBox>
|
|
|
|
|
|
|
|
|
|
</StackPanel>
|
|
</StackPanel>
|
|
@@ -76,15 +83,15 @@
|
|
<RowDefinition></RowDefinition>
|
|
<RowDefinition></RowDefinition>
|
|
<RowDefinition></RowDefinition>
|
|
<RowDefinition></RowDefinition>
|
|
</Grid.RowDefinitions>
|
|
</Grid.RowDefinitions>
|
|
- <Button Grid.Column="0" Grid.Row="0"></Button>
|
|
|
|
- <Button Grid.Column="1" Grid.Row="0"></Button>
|
|
|
|
- <Button Grid.Column="2" Grid.Row="0"></Button>
|
|
|
|
- <Button Grid.Column="0" Grid.Row="1"></Button>
|
|
|
|
- <Button Grid.Column="1" Grid.Row="1" Background="Black"></Button>
|
|
|
|
- <Button Grid.Column="2" Grid.Row="1"></Button>
|
|
|
|
- <Button Grid.Column="0" Grid.Row="2"></Button>
|
|
|
|
- <Button Grid.Column="1" Grid.Row="2"></Button>
|
|
|
|
- <Button Grid.Column="2" Grid.Row="2"></Button>
|
|
|
|
|
|
+ <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>
|
|
</Grid>
|
|
<StackPanel Orientation="Vertical" Margin="70,0,0,0">
|
|
<StackPanel Orientation="Vertical" Margin="70,0,0,0">
|
|
<StackPanel Orientation="Horizontal">
|
|
<StackPanel Orientation="Horizontal">
|
|
@@ -116,8 +123,10 @@
|
|
<Grid Grid.Row="3" Margin="0,16,0,0">
|
|
<Grid Grid.Row="3" Margin="0,16,0,0">
|
|
<StackPanel Orientation="Vertical">
|
|
<StackPanel Orientation="Vertical">
|
|
<TextBlock Text="页面范围" FontSize="12" Foreground="#666666" Height="20" Width="48" HorizontalAlignment="Left"></TextBlock>
|
|
<TextBlock Text="页面范围" FontSize="12" Foreground="#666666" Height="20" Width="48" HorizontalAlignment="Left"></TextBlock>
|
|
- <ComboBox Height="32" Width="228" Margin="0,8,0,0" HorizontalAlignment="Left"></ComboBox>
|
|
|
|
|
|
+ <cus:WritableComboBox Height="32" Width="228" Margin="0,8,0,0" HorizontalAlignment="Left"></cus:WritableComboBox>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
|
|
+ <Grid Grid.Row="4">
|
|
|
|
+ </Grid>
|
|
</Grid>
|
|
</Grid>
|
|
</UserControl>
|
|
</UserControl>
|