CPDFPageTurningUI.xaml 1.2 KB

123456789101112131415161718192021
  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. <StackPanel Orientation="Horizontal">
  11. <Button x:Name="GoToPreviousPageButton" Click="GoToPreviousPageButton_Click" Height="30" Width="30" Margin="0,0,5,0">
  12. <TextBlock Text="-"></TextBlock>
  13. </Button>
  14. <TextBox x:Name="PageIndexTexBox" Height="30" Width="50" Text="{Binding PageIndex, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" KeyDown="PageIndexTexBox_KeyDown">
  15. </TextBox>
  16. <Button x:Name="GoToNextPageButton" Click="GoToNextPageButton_Click" Height="30" Width="30" Margin="5,0,0,0">
  17. <TextBlock Text="+"></TextBlock>
  18. </Button>
  19. </StackPanel>
  20. </Grid>
  21. </UserControl>