<controls:NexusWindow x:Class="NexusShell.Controls.Dialogs.NexusOpenFileDialogWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="clr-namespace:NexusShell.Controls"
        Title="Nexus — Vælg fil"
        Width="520" Height="240"
        MinWidth="420" MinHeight="220"
        WindowStartupLocation="CenterOwner"
        ResizeMode="NoResize"
        ShowInTaskbar="False"
        AppTitle="Vælg fil"
        AppSubtitle="Nexus filvælger"
        IconData="M6,4 L14,4 L18,8 L18,20 L6,20 Z M14,4 L14,8 L18,8"
        ShowSideNav="False"
        ShowChromeButtons="True">
    <controls:NexusWindow.MainContent>
        <Grid Margin="20">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="*"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <TextBlock x:Name="TitleText" Text="Vælg fil" Foreground="#FFFFFF" FontSize="16" FontWeight="SemiBold" Margin="0,0,0,8"/>
            <TextBlock Grid.Row="1" Text="Vælg en fil via Nexus — ikke Windows Explorer." Foreground="#8CA3C7" FontSize="12" Margin="0,0,0,14"/>
            <Grid Grid.Row="2" Margin="0,0,0,16">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="Auto"/>
                </Grid.ColumnDefinitions>
                <TextBox x:Name="PathBox" Height="38" VerticalContentAlignment="Center"
                         Background="#12081428" Foreground="#FFFFFF" BorderBrush="#3800D9FF"
                         BorderThickness="1" Padding="10,0" IsReadOnly="True"/>
                <Button Grid.Column="1" Content="Gennemse…" Margin="10,0,0,0" Height="38" MinWidth="110"
                        Click="Browse_Click" Cursor="Hand"
                        Background="#14081428" Foreground="#E8F0FF" BorderBrush="#33FFFFFF" BorderThickness="1"/>
            </Grid>
            <StackPanel Grid.Row="3" Orientation="Horizontal" HorizontalAlignment="Right">
                <Button Content="Annuller" Width="100" Height="38" Margin="0,0,10,0" Click="Cancel_Click"
                        Background="#14081428" Foreground="#E8F0FF" BorderBrush="#33FFFFFF" BorderThickness="1" Cursor="Hand"/>
                <Button Content="Åbn" Width="100" Height="38" Click="Open_Click" IsDefault="True"
                        Background="#668A4FFF" Foreground="#FFFFFF" BorderBrush="#8800D9FF" BorderThickness="1" Cursor="Hand"/>
            </StackPanel>
        </Grid>
    </controls:NexusWindow.MainContent>
</controls:NexusWindow>
