1234567891011121314151617181920212223242526272829303132333435 |
- <UserControl x:Class="PDF_Master.Views.Tools.ScanContent"
- 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:PDF_Master.Views.Tools" xmlns:customcontrol="clr-namespace:PDF_Master.CustomControl" xmlns:tools="clr-namespace:PDF_Master.ViewModels.Tools" d:DataContext="{d:DesignInstance Type=tools:ScanContentViewModel}"
- mc:Ignorable="d" >
- <Grid>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
- <customcontrol:ImageRadioButton HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
- Padding="3" Command="{Binding EnhancedCommand}" GroupName="enhance" CommandParameter="{Binding RelativeSource={ RelativeSource Mode=Self}}"
- MouseOverBackground="{StaticResource color.item-state.sel.bg.lv2}"
- Icon="pack://application:,,,/PDF Master;component/Resources/ToolBarIcon/Scan/enhance.png"
- IconChecked="pack://application:,,,/PDF Master;component/Resources/ToolBarIcon/Scan/enhance.png"
- IconPress="pack://application:,,,/PDF Master;component/Resources/ToolBarIcon/Scan/enhance.png"
- IconMouseOver="pack://application:,,,/PDF Master;component/Resources/ToolBarIcon/Scan/enhance.png"
- Background="Transparent" Content="增强扫描"/>
- <customcontrol:ImageRadioButton HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
- Padding="3" Command="{Binding NavigationCommand}" GroupName="ocr"
- MouseOverBackground="{StaticResource color.item-state.sel.bg.lv2}"
- Icon="pack://application:,,,/PDF Master;component/Resources/ToolBarIcon/Scan/ocr.png"
- IconChecked="pack://application:,,,/PDF Master;component/Resources/ToolBarIcon/Scan/ocr.png"
- IconPress="pack://application:,,,/PDF Master;component/Resources/ToolBarIcon/Scan/ocr.png"
- IconMouseOver="pack://application:,,,/PDF Master;component/Resources/ToolBarIcon/Scan/ocr.png"
- Background="Transparent" Content="识别文本"/>
- <customcontrol:ImageButton HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
- Padding="3"
- MouseOverBackground="#000000" MouseOverBackgroundOpacity="0.25"
- Icon="pack://application:,,,/PDF Master;component/Resources/ToolBarIcon/Scan/batch.png"
- IconPress="pack://application:,,,/PDF Master;component/Resources/ToolBarIcon/Scan/batch.png"
- IconMouseOver="pack://application:,,,/PDF Master;component/Resources/ToolBarIcon/Scan/batch.png"
- Background="Transparent" Content="批量识别文本"/>
- </StackPanel>
- </Grid>
- </UserControl>
|