Files
PowerToys/src/modules/Projects/ProjectsEditor/MainWindow.xaml

34 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-05-21 16:55:15 +02:00
<Window
x:Class="ProjectsEditor.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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"
xmlns:props="clr-namespace:ProjectsEditor.Properties"
xmlns:ui="http://schemas.modernwpf.com/2019"
x:Name="ProjectsMainWindow"
Title="{x:Static props:Resources.MainTitle}"
ui:TitleBar.Background="{DynamicResource PrimaryBackgroundBrush}"
ui:TitleBar.InactiveBackground="{DynamicResource TertiaryBackgroundBrush}"
ui:TitleBar.IsIconVisible="True"
ui:WindowHelper.UseModernWindowStyle="True"
MinWidth="700"
MinHeight="480"
AutomationProperties.Name="Projects Editor"
Closing="OnClosing"
ContentRendered="OnContentRendered"
ResizeMode="CanResize"
WindowStartupLocation="CenterOwner"
mc:Ignorable="d"
Background="{DynamicResource PrimaryBackgroundBrush}">
<Border
CornerRadius="20"
BorderThickness="1">
<Grid Margin="0,10,0,0">
<Frame
x:Name="ContentFrame"
NavigationUIVisibility="Hidden"/>
</Grid>
</Border>
</Window>