mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
* xmlns CommunityToolkit.WinUI.UI.Controls * remove unneeded tk7controls * xmlns CommunityToolkit.WinUI.Controls * xmlns Microsoft.PowerToys.Settings.UI.Converters * remove unneeded Microsoft.PowerToys.Settings.UI.OOBE.Views * xmlns Microsoft.PowerToys.Settings.UI.Controls * xmlns CommunityToolkit.WinUI.Converters * remove unneeded "controls" * xmlns Microsoft.PowerToys.Settings.UI.Controls * remove unneeded "controls" * change WinUI.UI to WinUI * Styler * fixes * Styler * fixes * fixes * Update expect and MainPage
67 lines
3.1 KiB
XML
67 lines
3.1 KiB
XML
<Application
|
|
x:Class="Microsoft.PowerToys.Settings.UI.App"
|
|
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:tkconverters="using:CommunityToolkit.WinUI.Converters">
|
|
<Application.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
|
|
<ResourceDictionary Source="/SettingsXAML/Controls/KeyVisual/KeyVisual.xaml" />
|
|
<ResourceDictionary Source="/SettingsXAML/Styles/TextBlock.xaml" />
|
|
<ResourceDictionary Source="/SettingsXAML/Styles/Button.xaml" />
|
|
<ResourceDictionary Source="/SettingsXAML/Themes/Colors.xaml" />
|
|
<ResourceDictionary Source="/SettingsXAML/Themes/Generic.xaml" />
|
|
<!-- Other merged dictionaries here -->
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
<!-- Converters -->
|
|
<tkconverters:BoolToVisibilityConverter
|
|
x:Key="ReverseBoolToVisibilityConverter"
|
|
FalseValue="Visible"
|
|
TrueValue="Collapsed" />
|
|
<tkconverters:BoolToVisibilityConverter
|
|
x:Key="BoolToVisibilityConverter"
|
|
FalseValue="Collapsed"
|
|
TrueValue="Visible" />
|
|
|
|
<tkconverters:BoolToObjectConverter
|
|
x:Key="BoolToComboBoxIndexConverter"
|
|
FalseValue="0"
|
|
TrueValue="1" />
|
|
|
|
<tkconverters:BoolToObjectConverter
|
|
x:Key="ReverseBoolToComboBoxIndexConverter"
|
|
FalseValue="1"
|
|
TrueValue="0" />
|
|
|
|
<tkconverters:StringFormatConverter x:Key="StringFormatConverter" />
|
|
<tkconverters:BoolNegationConverter x:Key="BoolNegationConverter" />
|
|
|
|
<!-- Overrides -->
|
|
<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>
|
|
|
|
|
|
<Style TargetType="ListViewItem">
|
|
<Setter Property="Margin" Value="0,0,0,2" />
|
|
<Setter Property="Padding" Value="0,0,0,0" />
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
|
<Setter Property="IsTabStop" Value="False" />
|
|
</Style>
|
|
|
|
<Style BasedOn="{StaticResource DefaultCheckBoxStyle}" TargetType="controls:CheckBoxWithDescriptionControl" />
|
|
<!-- Other app resources here -->
|
|
|
|
<TransitionCollection x:Key="SettingsCardsAnimations">
|
|
<EntranceThemeTransition FromVerticalOffset="50" />
|
|
<!-- Animates cards when loaded -->
|
|
<RepositionThemeTransition IsStaggeringEnabled="False" />
|
|
<!-- Smoothly animates individual cards upon whenever Expanders are expanded/collapsed -->
|
|
</TransitionCollection>
|
|
</ResourceDictionary>
|
|
</Application.Resources>
|
|
</Application>
|