aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Ava/Ui/Windows/ContentDialogOverlayWindow.axaml
blob: 2967f4f216a63c9c4d18739b8f077bdaa9f5f0f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<window:StyleableWindow xmlns="https://github.com/avaloniaui"
                        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"
                        mc:Ignorable="d"
                        d:DesignWidth="800"
                        d:DesignHeight="450"
                        xmlns:ui="clr-namespace:FluentAvalonia.UI.Controls;assembly=FluentAvalonia"
                        x:Class="Ryujinx.Ava.Ui.Windows.ContentDialogOverlayWindow"
                        xmlns:window="clr-namespace:Ryujinx.Ava.Ui.Windows"
                        Title="ContentDialogOverlayWindow">
    <window:StyleableWindow.Styles>
        <Style Selector="ui|ContentDialog /template/ Panel#LayoutRoot">
            <Setter Property="Background"
                    Value="Transparent" />
        </Style>
    </window:StyleableWindow.Styles>
    <ContentControl
        Focusable="False"
        IsVisible="False"
        KeyboardNavigation.IsTabStop="False">
        <ui:ContentDialog Name="ContentDialog"
                          IsPrimaryButtonEnabled="True"
                          IsSecondaryButtonEnabled="True"
                          IsVisible="False" />
    </ContentControl>
</window:StyleableWindow>