BililiveRecorder/BililiveRecorder.WPF/NewMainWindow.xaml

35 lines
1.7 KiB
Plaintext
Raw Normal View History

2020-11-27 18:51:02 +08:00
<Window x:Class="BililiveRecorder.WPF.NewMainWindow"
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:ui="http://schemas.modernwpf.com/2019"
2021-01-03 13:21:36 +08:00
xmlns:l="https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension"
l:LocalizeDictionary.DesignCulture=""
l:ResxLocalizationProvider.DefaultAssembly="BililiveRecorder.WPF"
l:ResxLocalizationProvider.DefaultDictionary="Strings"
2020-11-27 18:51:02 +08:00
xmlns:local="clr-namespace:BililiveRecorder.WPF"
xmlns:pages="clr-namespace:BililiveRecorder.WPF.Pages"
mc:Ignorable="d"
Background="{DynamicResource SystemControlPageBackgroundAltHighBrush}"
Foreground="{DynamicResource SystemControlPageTextBaseHighBrush}"
ui:ThemeManager.IsThemeAware="True"
2021-01-03 13:21:36 +08:00
ui:ThemeManager.RequestedTheme="Default"
2020-11-27 18:51:02 +08:00
ui:WindowHelper.UseModernWindowStyle="True"
2020-12-05 18:30:04 +08:00
ui:TitleBar.IsBackEnabled="False"
ui:TitleBar.IsBackButtonVisible="False"
ui:TitleBar.IsIconVisible="True"
2021-01-03 13:21:36 +08:00
Width="960" Height="650" MinHeight="400" MinWidth="340"
WindowStartupLocation="CenterScreen"
FontFamily="Microsoft YaHei"
Closing="Window_Closing" StateChanged="Window_StateChanged"
>
<Window.Title>
<MultiBinding Converter="{l:StringFormatConverter}">
<l:BLoc Key="Window_Title"/>
<Binding Path="SoftwareVersion" RelativeSource="{RelativeSource Mode=Self}" />
</MultiBinding>
</Window.Title>
2020-11-28 13:02:57 +08:00
<pages:RootPage x:Name="RootPage"/>
2020-11-27 18:51:02 +08:00
</Window>