<winuiex:WindowEx
    x:Class="RegistryPreview.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:winuiex="using:WinUIEx"
    MinWidth="480"
    MinHeight="320"
    Closed="Window_Closed"
    mc:Ignorable="d">
    <Window.SystemBackdrop>
        <MicaBackdrop />
    </Window.SystemBackdrop>
    <Grid x:Name="MainGrid" Loaded="Grid_Loaded">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <TitleBar x:Name="titleBar" IsTabStop="False">
            <TitleBar.IconSource>
                <ImageIconSource ImageSource="/Assets/RegistryPreview/RegistryPreview.ico" />
            </TitleBar.IconSource>
        </TitleBar>
    </Grid>
</winuiex:WindowEx>