CPDThicknessUI.xaml 1.1 KB

1234567891011121314151617
  1. <UserControl x:Class="compdfkit_tools.Common.CPDFThicknessUI"
  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.Common"
  7. mc:Ignorable="d"
  8. d:DesignHeight="40" d:DesignWidth="300">
  9. <Grid>
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition></ColumnDefinition>
  12. <ColumnDefinition Width="80"></ColumnDefinition>
  13. </Grid.ColumnDefinitions>
  14. <Slider MinHeight="40" VerticalAlignment="Center" Maximum="16" Minimum="0" TickFrequency="1" IsSnapToTickEnabled="True" Value="{Binding Thickness, Mode=TwoWay}" Margin="10,0,10,0"></Slider>
  15. <local:DropDownNumberBoxControl x:Name="DropDownNumberBoxControl" Grid.Column="1" Unit="pt" Maxium="16" Minimum="0" Text="{Binding Thickness,Mode=TwoWay}"></local:DropDownNumberBoxControl>
  16. </Grid>
  17. </UserControl>