2022-04-19 22:00:28 +02:00
|
|
|
<Application
|
2020-03-11 10:43:32 -07:00
|
|
|
x:Class="Microsoft.PowerToys.Settings.UI.App"
|
2020-03-06 17:46:51 -08:00
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
2022-11-23 19:57:09 +01:00
|
|
|
xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
2024-01-12 18:01:40 +01:00
|
|
|
xmlns:tkconverters="using:CommunityToolkit.WinUI.Converters">
|
2020-03-09 23:55:08 -07:00
|
|
|
<Application.Resources>
|
2020-03-11 10:43:32 -07:00
|
|
|
<ResourceDictionary>
|
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
2022-04-19 22:00:28 +02:00
|
|
|
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
|
2023-07-20 00:12:46 +01:00
|
|
|
<ResourceDictionary Source="/SettingsXAML/Controls/KeyVisual/KeyVisual.xaml" />
|
|
|
|
|
<ResourceDictionary Source="/SettingsXAML/Styles/TextBlock.xaml" />
|
|
|
|
|
<ResourceDictionary Source="/SettingsXAML/Styles/Button.xaml" />
|
2025-01-22 13:12:46 -05:00
|
|
|
<ResourceDictionary Source="/SettingsXAML/Styles/InfoBadge.xaml" />
|
2023-07-20 00:12:46 +01:00
|
|
|
<ResourceDictionary Source="/SettingsXAML/Themes/Colors.xaml" />
|
|
|
|
|
<ResourceDictionary Source="/SettingsXAML/Themes/Generic.xaml" />
|
2022-11-23 19:57:09 +01:00
|
|
|
<!-- Other merged dictionaries here -->
|
2020-03-11 10:43:32 -07:00
|
|
|
</ResourceDictionary.MergedDictionaries>
|
2021-08-23 19:48:52 +02:00
|
|
|
|
2022-11-23 19:57:09 +01:00
|
|
|
<!-- Converters -->
|
2024-01-12 18:01:40 +01:00
|
|
|
<tkconverters:BoolToVisibilityConverter
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Key="ReverseBoolToVisibilityConverter"
|
|
|
|
|
FalseValue="Visible"
|
|
|
|
|
TrueValue="Collapsed" />
|
2024-01-12 18:01:40 +01:00
|
|
|
<tkconverters:BoolToVisibilityConverter
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Key="BoolToVisibilityConverter"
|
|
|
|
|
FalseValue="Collapsed"
|
|
|
|
|
TrueValue="Visible" />
|
|
|
|
|
|
2024-01-12 18:01:40 +01:00
|
|
|
<tkconverters:BoolToObjectConverter
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Key="BoolToComboBoxIndexConverter"
|
|
|
|
|
FalseValue="0"
|
|
|
|
|
TrueValue="1" />
|
|
|
|
|
|
2024-01-12 18:01:40 +01:00
|
|
|
<tkconverters:BoolToObjectConverter
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Key="ReverseBoolToComboBoxIndexConverter"
|
|
|
|
|
FalseValue="1"
|
|
|
|
|
TrueValue="0" />
|
|
|
|
|
|
2024-01-12 18:01:40 +01:00
|
|
|
<tkconverters:StringFormatConverter x:Key="StringFormatConverter" />
|
|
|
|
|
<tkconverters:BoolNegationConverter x:Key="BoolNegationConverter" />
|
2025-05-26 05:03:35 -04:00
|
|
|
<x:Double x:Key="SettingsCardSpacing">2</x:Double>
|
2022-11-23 19:57:09 +01:00
|
|
|
|
|
|
|
|
<!-- Overrides -->
|
2021-08-23 19:48:52 +02:00
|
|
|
<Thickness x:Key="InfoBarIconMargin">6,16,16,16</Thickness>
|
|
|
|
|
<Thickness x:Key="InfoBarContentRootPadding">16,0,0,0</Thickness>
|
|
|
|
|
<x:Double x:Key="SettingActionControlMinWidth">240</x:Double>
|
|
|
|
|
|
2022-11-23 19:57:09 +01:00
|
|
|
|
2021-12-20 13:15:08 +01:00
|
|
|
<Style TargetType="ListViewItem">
|
2021-08-23 19:48:52 +02:00
|
|
|
<Setter Property="Margin" Value="0,0,0,2" />
|
|
|
|
|
<Setter Property="Padding" Value="0,0,0,0" />
|
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
2022-11-23 19:57:09 +01:00
|
|
|
<Setter Property="IsTabStop" Value="False" />
|
2021-08-23 19:48:52 +02:00
|
|
|
</Style>
|
2021-10-19 13:44:13 +02:00
|
|
|
|
2023-06-11 17:54:01 +02:00
|
|
|
<Style BasedOn="{StaticResource DefaultCheckBoxStyle}" TargetType="controls:CheckBoxWithDescriptionControl" />
|
2022-11-23 19:57:09 +01:00
|
|
|
<!-- Other app resources here -->
|
2023-01-11 17:45:06 +01:00
|
|
|
|
|
|
|
|
<TransitionCollection x:Key="SettingsCardsAnimations">
|
2023-09-07 15:36:47 +07:00
|
|
|
<EntranceThemeTransition FromVerticalOffset="50" />
|
2023-06-11 17:54:01 +02:00
|
|
|
<!-- Animates cards when loaded -->
|
|
|
|
|
<RepositionThemeTransition IsStaggeringEnabled="False" />
|
|
|
|
|
<!-- Smoothly animates individual cards upon whenever Expanders are expanded/collapsed -->
|
2023-01-11 17:45:06 +01:00
|
|
|
</TransitionCollection>
|
2020-03-11 10:43:32 -07:00
|
|
|
</ResourceDictionary>
|
2020-03-09 23:55:08 -07:00
|
|
|
</Application.Resources>
|
2022-04-19 22:00:28 +02:00
|
|
|
</Application>
|