mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-22 09:36:09 +08:00
29 lines
1.2 KiB
XML
29 lines
1.2 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;assembly=System.Application.SteamTools.Client.Desktop.Avalonia"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d"
|
|
d:DesignWidth="1200" Width="1400" MinWidth="800"
|
|
d:DesignHeight="600" 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,Mode=OneWay}"
|
|
Topmost="{Binding Topmost}">
|
|
<FluentWindow.Styles>
|
|
<Style Selector="TitleBar:fullscreen">
|
|
<Setter Property="Background" Value="{DynamicResource ThemeBackgroundBrush}" />
|
|
</Style>
|
|
</FluentWindow.Styles>
|
|
<Design.DataContext>
|
|
<vm:MainWindowViewModel/>
|
|
</Design.DataContext>
|
|
|
|
<Panel Margin="{Binding #MainWindow.OffScreenMargin}">
|
|
<local:MainView />
|
|
</Panel>
|
|
</FluentWindow> |