CPDFPageTurningUI.xaml 1.4 KB

12345678910111213141516171819202122232425
  1. <UserControl x:Class="Compdfkit_Tools.PDFControlUI.CPDFPageTurningUI"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:Compdfkit_Tools.PDFControlUI"
  7. mc:Ignorable="d"
  8. d:DesignHeight="30" d:DesignWidth="120">
  9. <Grid Height="30" Width="120" >
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition Width="11*"/>
  12. <ColumnDefinition/>
  13. </Grid.ColumnDefinitions>
  14. <StackPanel Orientation="Horizontal" Grid.ColumnSpan="2">
  15. <Button x:Name="GoToPreviousPageButton" Click="GoToPreviousPageButton_Click" Height="30" Width="30" Margin="0,0,5,0">
  16. <TextBlock Text="-"></TextBlock>
  17. </Button>
  18. <TextBox x:Name="PageIndexTexBox" Height="30" Width="50" Text="{Binding PageIndex, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" KeyDown="PageIndexTexBox_KeyDown">
  19. </TextBox>
  20. <Button x:Name="GoToNextPageButton" Click="GoToNextPageButton_Click" Height="30" Width="30" Margin="5,0,0,0">
  21. <TextBlock Text="+"></TextBlock>
  22. </Button>
  23. </StackPanel>
  24. </Grid>
  25. </UserControl>