123456789101112131415161718192021222324252627 |
- <UserControl x:Class="compdfkit_tools.PDFControlUI.CPDFScalingUI"
- 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"
- xmlns:cpdfcommon="clr-namespace:compdfkit_tools.Common"
- mc:Ignorable="d"
- d:DesignHeight="30" d:DesignWidth="150">
- <Grid Height="30" Width="150" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="6*"></ColumnDefinition>
- <ColumnDefinition Width="4*"></ColumnDefinition>
- </Grid.ColumnDefinitions>
- <StackPanel Orientation="Horizontal" Height="30">
- <cpdfcommon:DropDownNumberBoxControl x:Name="DropDownNumberBoxControl" Height="30" Width=" 85" Unit="%" Maxium="1600" Minimum="0" Text="{Binding Scale,Mode=TwoWay}"></cpdfcommon:DropDownNumberBoxControl>
- </StackPanel>
- <StackPanel Grid.Column="1" Orientation="Horizontal">
- <Button x:Name="ScaleDecreaseButton" Height="30" Width="30" Click="ScaleDecreaseButton_Click">
- <TextBlock Text="-"></TextBlock>
- </Button>
- <Button x:Name="ScaleIncreaseButton" Height="30" Width="30" Click="ScaleIncreaseButton_Click">
- <TextBlock Text="+"></TextBlock>
- </Button>
- </StackPanel>
- </Grid>
- </UserControl>
|