mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 19:26:39 +02:00
* Leaving out unicode char from automationproperties.name * Colorpicker page accesbility fixes * Fix for toggleswitch * Remove heading level 1 from navview items * Fixes for redunant narrator announcements * Added automationproperties.name to images in oobe * Fix Co-authored-by: Niels Laute <niels9001@hotmail.com>
30 lines
1.4 KiB
XML
30 lines
1.4 KiB
XML
<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>
|
|
<TextBlock x:Name="ShortcutWarningLabelText" TextWrapping="WrapWholeWords">
|
|
<Run x:Uid="ShortcutWarningLabel"/>
|
|
<LineBreak/>
|
|
<Run Text="{x:Bind Keys, Mode=OneTime}" FontWeight="SemiBold"/>
|
|
</TextBlock>
|
|
</ToolTipService.ToolTip>
|
|
<TextBox.Header>
|
|
<TextBlock AutomationProperties.Name="{x:Bind Header, Mode=OneTime}">
|
|
<Run Text="{x:Bind Header, Mode=OneTime}"/>
|
|
<Run Text="" FontFamily="Segoe MDL2 Assets"/>
|
|
</TextBlock>
|
|
</TextBox.Header>
|
|
</TextBox>
|
|
</UserControl> |