CPDThicknessUI.xaml 1.5 KB

123456789101112131415161718192021222324
  1. <UserControl x:Class="ComPDFKit.Controls.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.Controls.Common"
  7. mc:Ignorable="d"
  8. d:DesignHeight="40" d:DesignWidth="300">
  9. <UserControl.Resources>
  10. <ResourceDictionary>
  11. <ResourceDictionary.MergedDictionaries>
  12. <ResourceDictionary Source="../../../Asset/Styles/SliderStyle.xaml"></ResourceDictionary>
  13. </ResourceDictionary.MergedDictionaries>
  14. </ResourceDictionary>
  15. </UserControl.Resources>
  16. <Grid>
  17. <Grid.ColumnDefinitions>
  18. <ColumnDefinition></ColumnDefinition>
  19. <ColumnDefinition Width="80"></ColumnDefinition>
  20. </Grid.ColumnDefinitions>
  21. <Slider Style="{StaticResource SliderStyle}" MinHeight="40" VerticalAlignment="Center" Maximum="10" Minimum="1" TickFrequency="1" IsMoveToPointEnabled="True" IsSnapToTickEnabled="True" Value="{Binding Thickness, Mode=TwoWay}" Margin="10,0,10,0"></Slider>
  22. <local:DropDownNumberBoxControl x:Name="DropDownNumberBoxControl" Grid.Column="1" Unit="pt" Maxium="10" Minimum="1" Text="{Binding Thickness,Mode=TwoWay}" Height="28" Width="72"></local:DropDownNumberBoxControl>
  23. </Grid>
  24. </UserControl>