mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
45 lines
2.4 KiB
Plaintext
45 lines
2.4 KiB
Plaintext
|
|
<Page
|
||
|
|
x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerOcrPage"
|
||
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||
|
|
xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
||
|
|
xmlns:converters="using:CommunityToolkit.WinUI.UI.Converters"
|
||
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||
|
|
AutomationProperties.LandmarkType="Main"
|
||
|
|
mc:Ignorable="d">
|
||
|
|
|
||
|
|
<controls:SettingsPageControl x:Uid="PowerOCR" ModuleImageSource="ms-appx:///Assets/Modules/PowerOCR.png">
|
||
|
|
<controls:SettingsPageControl.ModuleContent>
|
||
|
|
<StackPanel Orientation="Vertical">
|
||
|
|
|
||
|
|
<controls:Setting x:Uid="PowerOCR_EnableToggleControl_HeaderText">
|
||
|
|
<controls:Setting.Icon>
|
||
|
|
<BitmapIcon ShowAsMonochrome="False" UriSource="ms-appx:///Assets/FluentIcons/FluentIconsPowerOcr.png" />
|
||
|
|
</controls:Setting.Icon>
|
||
|
|
<controls:Setting.ActionContent>
|
||
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||
|
|
</controls:Setting.ActionContent>
|
||
|
|
</controls:Setting>
|
||
|
|
|
||
|
|
<controls:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
|
||
|
|
<controls:Setting x:Uid="Activation_Shortcut" Icon="">
|
||
|
|
<controls:Setting.ActionContent>
|
||
|
|
<controls:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.ActivationShortcut, Mode=TwoWay}" />
|
||
|
|
</controls:Setting.ActionContent>
|
||
|
|
</controls:Setting>
|
||
|
|
|
||
|
|
</controls:SettingsGroup>
|
||
|
|
|
||
|
|
</StackPanel>
|
||
|
|
</controls:SettingsPageControl.ModuleContent>
|
||
|
|
|
||
|
|
<controls:SettingsPageControl.PrimaryLinks>
|
||
|
|
<controls:PageLink x:Uid="LearnMore_PowerOcr" Link="https://aka.ms/PowerToysOverview_PowerOCR" />
|
||
|
|
</controls:SettingsPageControl.PrimaryLinks>
|
||
|
|
<controls:SettingsPageControl.SecondaryLinks>
|
||
|
|
<controls:PageLink Text="Based upon Joseph Finney's Text Grab" Link="https://github.com/TheJoeFin/Text-Grab"/>
|
||
|
|
</controls:SettingsPageControl.SecondaryLinks>
|
||
|
|
</controls:SettingsPageControl>
|
||
|
|
</Page>
|