mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-26 12:15:42 +08:00
35 lines
1.7 KiB
XML
35 lines
1.7 KiB
XML
<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"
|
|
xmlns:l="https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension"
|
|
l:LocalizeDictionary.DesignCulture=""
|
|
l:ResxLocalizationProvider.DefaultAssembly="BililiveRecorder.WPF"
|
|
l:ResxLocalizationProvider.DefaultDictionary="Strings"
|
|
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"
|
|
ui:ThemeManager.RequestedTheme="Default"
|
|
ui:WindowHelper.UseModernWindowStyle="True"
|
|
ui:TitleBar.IsBackEnabled="False"
|
|
ui:TitleBar.IsBackButtonVisible="False"
|
|
ui:TitleBar.IsIconVisible="True"
|
|
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>
|
|
<pages:RootPage x:Name="RootPage"/>
|
|
</Window>
|