ContentDialogOverlayWindow.axaml 1.4 KB

12345678910111213141516171819202122232425262728
  1. <window:StyleableWindow xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. mc:Ignorable="d"
  6. d:DesignWidth="800"
  7. d:DesignHeight="450"
  8. xmlns:ui="clr-namespace:FluentAvalonia.UI.Controls;assembly=FluentAvalonia"
  9. x:Class="Ryujinx.Ava.Ui.Windows.ContentDialogOverlayWindow"
  10. xmlns:window="clr-namespace:Ryujinx.Ava.Ui.Windows"
  11. Title="ContentDialogOverlayWindow"
  12. Focusable="True">
  13. <window:StyleableWindow.Styles>
  14. <Style Selector="ui|ContentDialog /template/ Panel#LayoutRoot">
  15. <Setter Property="Background"
  16. Value="Transparent" />
  17. </Style>
  18. </window:StyleableWindow.Styles>
  19. <ContentControl
  20. Focusable="False"
  21. IsVisible="False"
  22. KeyboardNavigation.IsTabStop="False">
  23. <ui:ContentDialog Name="ContentDialog"
  24. IsPrimaryButtonEnabled="True"
  25. IsSecondaryButtonEnabled="True"
  26. IsVisible="False" />
  27. </ContentControl>
  28. </window:StyleableWindow>