/ src / modules / Workspaces / WorkspacesEditor / MainWindow.xaml
MainWindow.xaml
 1  <Window
 2      x:Class="WorkspacesEditor.MainWindow"
 3      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 4      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 5      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 6      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 7      xmlns:props="clr-namespace:WorkspacesEditor.Properties"
 8      xmlns:ui="http://schemas.modernwpf.com/2019"
 9      x:Name="WorkspacesMainWindow"
10      Title="{x:Static props:Resources.MainTitle}"
11      MinWidth="750"
12      MinHeight="680"
13      ui:TitleBar.Background="{DynamicResource PrimaryBackgroundBrush}"
14      ui:TitleBar.InactiveBackground="{DynamicResource TertiaryBackgroundBrush}"
15      ui:TitleBar.IsIconVisible="True"
16      ui:WindowHelper.UseModernWindowStyle="True"
17      AutomationProperties.Name="Workspaces Editor"
18      Background="{DynamicResource PrimaryBackgroundBrush}"
19      Closing="OnClosing"
20      ContentRendered="OnContentRendered"
21      ResizeMode="CanResize"
22      WindowStartupLocation="CenterOwner"
23      mc:Ignorable="d">
24      <Border BorderThickness="1" CornerRadius="20">
25          <Grid Margin="0,10,0,0">
26              <Frame x:Name="ContentFrame" NavigationUIVisibility="Hidden" />
27          </Grid>
28      </Border>
29  </Window>