|
@@ -2,6 +2,7 @@
|
|
x:Class="PDF_Office.Views.BottomToolContent"
|
|
x:Class="PDF_Office.Views.BottomToolContent"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
+ xmlns:cus="clr-namespace:PDF_Office.CustomControl"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
|
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
|
xmlns:local="clr-namespace:PDF_Office.Views"
|
|
xmlns:local="clr-namespace:PDF_Office.Views"
|
|
@@ -60,12 +61,13 @@
|
|
</Polygon.RenderTransform>
|
|
</Polygon.RenderTransform>
|
|
</Polygon>
|
|
</Polygon>
|
|
</Button>
|
|
</Button>
|
|
- <TextBox
|
|
|
|
- Width="48"
|
|
|
|
|
|
+ <cus:TextBoxEx
|
|
|
|
+ Width="57"
|
|
Height="24"
|
|
Height="24"
|
|
Padding="10,0,0,0"
|
|
Padding="10,0,0,0"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
VerticalContentAlignment="Center"
|
|
VerticalContentAlignment="Center"
|
|
|
|
+ CornerRadius="4"
|
|
FontSize="12"
|
|
FontSize="12"
|
|
InputMethod.IsInputMethodEnabled="False"
|
|
InputMethod.IsInputMethodEnabled="False"
|
|
Text="{Binding CurrentPage}">
|
|
Text="{Binding CurrentPage}">
|
|
@@ -77,11 +79,15 @@
|
|
<i:InvokeCommandAction Command="{Binding PageTextPreviewKeyDownCommand}" PassEventArgsToCommand="True" />
|
|
<i:InvokeCommandAction Command="{Binding PageTextPreviewKeyDownCommand}" PassEventArgsToCommand="True" />
|
|
</i:EventTrigger>
|
|
</i:EventTrigger>
|
|
</i:Interaction.Triggers>
|
|
</i:Interaction.Triggers>
|
|
- </TextBox>
|
|
|
|
|
|
+ </cus:TextBoxEx>
|
|
<TextBlock
|
|
<TextBlock
|
|
- MinWidth="50"
|
|
|
|
|
|
+ Margin="8,0"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
- Text="{Binding PageCount, StringFormat=/{0}}" />
|
|
|
|
|
|
+ Text="/" />
|
|
|
|
+ <TextBlock
|
|
|
|
+ MinWidth="13"
|
|
|
|
+ VerticalAlignment="Center"
|
|
|
|
+ Text="{Binding PageCount, StringFormat={}{0}}" />
|
|
<Button
|
|
<Button
|
|
Width="24"
|
|
Width="24"
|
|
Height="24"
|
|
Height="24"
|
|
@@ -111,11 +117,19 @@
|
|
</Path.RenderTransform>
|
|
</Path.RenderTransform>
|
|
</Path>
|
|
</Path>
|
|
</Button>
|
|
</Button>
|
|
|
|
+
|
|
|
|
+ <Separator Margin="4,0,0,0" Style="{StaticResource VerticalSeparatorStyle}" />
|
|
|
|
+ <Button
|
|
|
|
+ Width="24"
|
|
|
|
+ Height="24"
|
|
|
|
+ Margin="8,0" />
|
|
|
|
+ <Button Width="24" Height="24" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
<StackPanel
|
|
<StackPanel
|
|
x:Name="StkPnlRight"
|
|
x:Name="StkPnlRight"
|
|
Grid.Column="2"
|
|
Grid.Column="2"
|
|
HorizontalAlignment="Right"
|
|
HorizontalAlignment="Right"
|
|
|
|
+ IsEnabled="{Binding RightPanelEnable}"
|
|
Orientation="Horizontal">
|
|
Orientation="Horizontal">
|
|
<ToggleButton
|
|
<ToggleButton
|
|
Width="24"
|
|
Width="24"
|