<controls:MetroWindow x:Class="WSDDBBrowser.MainWindow"
                      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                      
                      xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
                      xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
                      Title="威仕达数据库浏览" WindowState="Maximized" >
    <controls:MetroWindow.WindowButtonCommands>
        <controls:WindowButtonCommands Template="{DynamicResource MahApps.Metro.Templates.WindowButtonCommands.Win10}" />
    </controls:MetroWindow.WindowButtonCommands>
    <controls:MetroWindow.IconTemplate>
        <DataTemplate>
            <iconPacks:PackIconMaterial Width="{TemplateBinding Width}"
                                        Height="{TemplateBinding Height}"
                                        Margin="2"
                                        Padding="4"
                                        Foreground="{DynamicResource IdealForegroundColorBrush}"
                                        Kind="Database" />
        </DataTemplate>
    </controls:MetroWindow.IconTemplate>
    <controls:MetroWindow.RightWindowCommands>
        <controls:WindowCommands>
            <Button 
                    Content="{iconPacks:SimpleIcons GitLab, Width=22, Height=22}"
                Click="ButtonGitLabClick"
                    ToolTip="WSD DB Browser on GitLab" />
        </controls:WindowCommands>
    </controls:MetroWindow.RightWindowCommands>
    <Frame NavigationUIVisibility="Hidden" x:Name="frame"/>
    </controls:MetroWindow>