12345678910111213141516171819202122232425 |
- <UserControl x:Class="Compdfkit_Tools.PDFControlUI.CPDFPageTurningUI"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:Compdfkit_Tools.PDFControlUI"
- mc:Ignorable="d"
- d:DesignHeight="30" d:DesignWidth="120">
- <Grid Height="30" Width="120" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="11*"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <StackPanel Orientation="Horizontal" Grid.ColumnSpan="2">
- <Button x:Name="GoToPreviousPageButton" Click="GoToPreviousPageButton_Click" Height="30" Width="30" Margin="0,0,5,0">
- <TextBlock Text="-"></TextBlock>
- </Button>
- <TextBox x:Name="PageIndexTexBox" Height="30" Width="50" Text="{Binding PageIndex, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" KeyDown="PageIndexTexBox_KeyDown">
- </TextBox>
- <Button x:Name="GoToNextPageButton" Click="GoToNextPageButton_Click" Height="30" Width="30" Margin="5,0,0,0">
- <TextBlock Text="+"></TextBlock>
- </Button>
- </StackPanel>
- </Grid>
- </UserControl>
|