ScanPropertyPanel.xaml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <UserControl x:Class="PDF_Office.Views.PropertyPanel.Scan.ScanPropertyPanel"
  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:PDF_Office.Views.PropertyPanel.Scan" xmlns:customcontrol="clr-namespace:PDF_Office.CustomControl"
  7. mc:Ignorable="d" >
  8. <Grid>
  9. <StackPanel>
  10. <TextBlock Text="识别文本"/>
  11. <customcontrol:PathRadioButton
  12. MouseOverBackground="#EDEEF0" MouseDownBackground="#CED0D4" MouseDownBackgroundOpacity="0.6"
  13. HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
  14. <customcontrol:PathRadioButton.Content >
  15. <TextBlock Text="页面识别"/>
  16. </customcontrol:PathRadioButton.Content>
  17. </customcontrol:PathRadioButton>
  18. <customcontrol:PathRadioButton
  19. MouseOverBackground="#EDEEF0" MouseDownBackground="#CED0D4" MouseDownBackgroundOpacity="0.6"
  20. HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
  21. <customcontrol:PathRadioButton.Content >
  22. <TextBlock Text="区域识别"/>
  23. </customcontrol:PathRadioButton.Content>
  24. </customcontrol:PathRadioButton>
  25. <ComboBox SelectedIndex="0">
  26. <TextBlock Text="English"/>
  27. <TextBlock Text="Chinese Simplified"/>
  28. <TextBlock Text="Chinese Traditional"/>
  29. <TextBlock Text="French"/>
  30. </ComboBox>
  31. <customcontrol:WritableComboBox SelectedIndex="0" MaxPageRange="{Binding PageCount}" Text="{Binding SetPageRange,Mode=TwoWay}"/>
  32. <Button Content="OCR"/>
  33. </StackPanel>
  34. </Grid>
  35. </UserControl>