2020-12-15 15:16:09 +03:00
|
|
|
<UserControl
|
|
|
|
|
x:Class="Microsoft.PowerToys.Settings.UI.Controls.HotkeySettingsControl"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:local="using:Microsoft.PowerToys.Settings.UI.Controls"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
|
mc:Ignorable="d"
|
|
|
|
|
AutomationProperties.Name="{x:Bind Header, Mode=OneTime}"
|
|
|
|
|
d:DesignHeight="300"
|
|
|
|
|
d:DesignWidth="400">
|
|
|
|
|
<TextBox x:Name="HotkeyTextBox"
|
|
|
|
|
x:Uid="SettingsPage_SetShortcut"
|
|
|
|
|
AutomationProperties.HelpText="{Binding ElementName=ShortcutWarningLabelText, Path=Text}"
|
|
|
|
|
IsReadOnly="True">
|
|
|
|
|
<ToolTipService.ToolTip>
|
2021-01-05 17:24:14 +01:00
|
|
|
<TextBlock x:Name="ShortcutWarningLabelText" TextWrapping="WrapWholeWords">
|
2020-12-15 15:16:09 +03:00
|
|
|
<Run x:Uid="ShortcutWarningLabel"/>
|
|
|
|
|
<LineBreak/>
|
|
|
|
|
<Run Text="{x:Bind Keys, Mode=OneTime}" FontWeight="SemiBold"/>
|
|
|
|
|
</TextBlock>
|
|
|
|
|
</ToolTipService.ToolTip>
|
|
|
|
|
<TextBox.Header>
|
2021-07-28 12:07:43 +02:00
|
|
|
<TextBlock AutomationProperties.Name="{x:Bind Header, Mode=OneTime}">
|
2020-12-15 15:16:09 +03:00
|
|
|
<Run Text="{x:Bind Header, Mode=OneTime}"/>
|
|
|
|
|
<Run Text="" FontFamily="Segoe MDL2 Assets"/>
|
|
|
|
|
</TextBlock>
|
|
|
|
|
</TextBox.Header>
|
|
|
|
|
</TextBox>
|
2020-07-24 21:02:56 +02:00
|
|
|
</UserControl>
|