2026-02-01 01:41:12 +01:00
<Window xmlns= "http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x= "http://schemas.microsoft.com/winfx/2006/xaml"
Title= "Win11Debloat Application Selection"
Width= "450" Height= "580"
ResizeMode= "NoResize"
WindowStartupLocation= "CenterScreen"
WindowStyle= "None"
AllowsTransparency= "True"
Background= "Transparent"
2026-06-21 18:47:52 +02:00
Foreground= "{DynamicResource AppFgColor}" >
2026-02-01 01:41:12 +01:00
<Window.Resources>
<!-- Title Bar Button Style -->
<Style x:Key= "TitleBarButton" TargetType= "Button" >
<Setter Property= "Background" Value= "Transparent" />
2026-06-21 18:47:52 +02:00
<Setter Property= "Foreground" Value= "{DynamicResource AppFgColor}" />
2026-02-01 01:41:12 +01:00
<Setter Property= "BorderThickness" Value= "0" />
<Setter Property= "Width" Value= "46" />
<Setter Property= "Height" Value= "32" />
2026-07-08 23:16:01 +02:00
<Setter Property= "FontFamily" Value= "{DynamicResource AppIconFontFamily}" />
2026-02-01 01:41:12 +01:00
<Setter Property= "FontSize" Value= "10" />
<Setter Property= "Template" >
<Setter.Value>
<ControlTemplate TargetType= "Button" >
<Border Background= "{TemplateBinding Background}" BorderThickness= "0" CornerRadius= "0,8,0,0" >
<ContentPresenter HorizontalAlignment= "Center" VerticalAlignment= "Center" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key= "CloseButton" TargetType= "Button" BasedOn= "{StaticResource TitleBarButton}" >
<Style.Triggers>
<Trigger Property= "IsMouseOver" Value= "True" >
2026-06-21 18:47:52 +02:00
<Setter Property= "Background" Value= "{DynamicResource TitleBarCloseHoverColor}" />
2026-02-01 01:41:12 +01:00
<Setter Property= "Foreground" Value= "White" />
</Trigger>
</Style.Triggers>
</Style>
</Window.Resources>
2026-06-21 18:47:52 +02:00
<Border BorderBrush= "{DynamicResource AppBorderColor}"
2026-02-01 01:41:12 +01:00
BorderThickness= "1"
CornerRadius= "8"
2026-06-21 18:47:52 +02:00
Background= "{DynamicResource AppBgColor}"
2026-02-15 16:53:41 +01:00
Margin= "25" >
<Border.Effect>
<DropShadowEffect Color= "Black"
Opacity= "0.15"
BlurRadius= "20"
ShadowDepth= "0"
Direction= "0" />
</Border.Effect>
2026-02-01 01:41:12 +01:00
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height= "32" />
<RowDefinition Height= "*" />
</Grid.RowDefinitions>
<!-- Custom Title Bar -->
<Grid Grid.Row= "0" x:Name= "TitleBar" >
2026-06-21 18:47:52 +02:00
<Border Background= "{DynamicResource AppBgColor}" CornerRadius= "8,8,0,0" >
2026-02-01 01:41:12 +01:00
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width= "*" />
<ColumnDefinition Width= "Auto" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Column= "0"
Text= "Win11Debloat Application Selection"
2026-06-21 18:47:52 +02:00
Foreground= "{DynamicResource AppFgColor}"
2026-02-01 01:41:12 +01:00
VerticalAlignment= "Center"
Margin= "12,0,0,0"
FontSize= "12" />
<StackPanel Grid.Column= "1" Orientation= "Horizontal" >
2026-02-02 21:42:29 +02:00
<Button x:Name= "CloseBtn" Content= "" Style= "{StaticResource CloseButton}" ToolTip= "Close" IsCancel= "True" AutomationProperties.Name= "Close" />
2026-02-01 01:41:12 +01:00
</StackPanel>
</Grid>
</Border>
</Grid>
<!-- Main Content -->
<Grid Grid.Row= "1" >
<Grid Margin= "12" >
<Grid.RowDefinitions>
<RowDefinition Height= "Auto" />
<RowDefinition Height= "Auto" />
<RowDefinition Height= "*" />
<RowDefinition Height= "Auto" />
</Grid.RowDefinitions>
<TextBlock Grid.Row= "0"
Text= "Check apps that you wish to remove, uncheck apps that you wish to keep"
TextWrapping= "Wrap"
2026-06-21 18:47:52 +02:00
Foreground= "{DynamicResource AppFgColor}"
2026-02-01 01:41:12 +01:00
Margin= "0,0,0,10" />
<StackPanel Grid.Row= "1" Orientation= "Horizontal" Margin= "0,0,0,8" >
2026-06-21 18:47:52 +02:00
<CheckBox x:Name= "CheckAllBox" Content= "Check/Uncheck all" Margin= "8,0,15,0" Foreground= "{DynamicResource AppFgColor}" AutomationProperties.Name= "Check or Uncheck all" />
2026-02-01 01:41:12 +01:00
</StackPanel>
2026-06-21 18:47:52 +02:00
<Border Grid.Row= "2" BorderBrush= "{DynamicResource AppBorderColor}" CornerRadius= "4" BorderThickness= "1" Margin= "0,0,0,10" Background= "{DynamicResource CardBgColor}" >
2026-02-01 01:41:12 +01:00
<Grid>
<ScrollViewer VerticalScrollBarVisibility= "Auto" >
<StackPanel x:Name= "AppsPanel" Margin= "5" />
</ScrollViewer>
<Border x:Name= "LoadingAppsIndicator" CornerRadius= "4" Background= "{DynamicResource ScrollBarThumbColor}" Opacity= "0.8" Visibility= "Collapsed" >
2026-06-21 18:47:52 +02:00
<TextBlock Text= "Loading apps..." FontSize= "16" FontWeight= "SemiBold" Foreground= "{DynamicResource AppFgColor}" HorizontalAlignment= "Center" VerticalAlignment= "Center" />
2026-02-01 01:41:12 +01:00
</Border>
</Grid>
</Border>
<StackPanel Grid.Row= "3" Orientation= "Horizontal" HorizontalAlignment= "Right" >
<Grid Margin= "0,8,10,10" >
2026-06-21 18:47:52 +02:00
<CheckBox x:Name= "OnlyInstalledBox" Content= "Only show installed apps" Foreground= "{DynamicResource AppFgColor}" AutomationProperties.Name= "Only show installed apps" />
2026-02-01 01:41:12 +01:00
</Grid>
2026-03-07 14:49:29 +01:00
<Button x:Name= "ConfirmBtn" Width= "80" Height= "32" Margin= "0,0,10,0" Content= "Confirm" Style= "{DynamicResource PrimaryButtonStyle}" AutomationProperties.Name= "Confirm" />
<Button x:Name= "CancelBtn" Width= "80" Height= "32" Content= "Cancel" Style= "{DynamicResource SecondaryButtonStyle}" IsCancel= "True" AutomationProperties.Name= "Cancel" />
2026-02-01 01:41:12 +01:00
</StackPanel>
</Grid>
</Grid>
2026-02-15 16:53:41 +01:00
<!-- Modal Overlay for MessageBoxes -->
<Rectangle x:Name= "ModalOverlay"
Grid.RowSpan= "2"
Fill= "#80000000"
Visibility= "Collapsed"
Panel.ZIndex= "1000"
RadiusX= "8"
RadiusY= "8"
Margin= "-1" />
2026-02-01 01:41:12 +01:00
</Grid>
</Border>
</Window>