mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-20 16:21:46 +08:00
30 lines
1.1 KiB
XML
30 lines
1.1 KiB
XML
<FluentWindow xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:vm="clr-namespace:System.Application.UI.ViewModels"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d"
|
|
d:DesignWidth="1350" Width="1400" MinWidth="800"
|
|
d:DesignHeight="700" Height="800" MinHeight="600"
|
|
xmlns:pages="clr-namespace:System.Application.UI.Pages"
|
|
xmlns:local="clr-namespace:System.Application.UI.Views"
|
|
x:Class="System.Application.UI.Views.MainWindow"
|
|
x:Name="MainWindow"
|
|
WindowStartupLocation="CenterScreen"
|
|
Background="{x:Null}"
|
|
Title="{Binding Title}"
|
|
Topmost="{Binding Topmost}">
|
|
<FluentWindow.Styles>
|
|
<Style Selector="TitleBar:fullscreen">
|
|
<Setter Property="Background" Value="#7f000000" />
|
|
</Style>
|
|
</FluentWindow.Styles>
|
|
|
|
<Design.DataContext>
|
|
<vm:MainWindowViewModel/>
|
|
</Design.DataContext>
|
|
|
|
<Panel Margin="{Binding #MainWindow.OffScreenMargin}">
|
|
<local:MainView />
|
|
</Panel>
|
|
</FluentWindow> |