<controls:MetroWindow x:Class="LunarSF.SHomeWorkshop.LunarMarkdownEditor.PrintPreviewDialog" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:LunarSF.SHomeWorkshop.LunarMarkdownEditor" xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls" Height="560" Width="1000" Icon="App.png" BorderBrush="#FFBB6115" BorderThickness="1" GlowBrush="#FFBB6115" FontFamily="Simsun" TextOptions.TextFormattingMode="Display" Padding="0" Title="{x:Static Member=local:Globals.AppName}" WindowStartupLocation="CenterOwner" WindowState="Maximized" Topmost="True"> <local:PrintPreviewDocumentViewer x:Name="documentViewer" Grid.Row="0" /> </controls:MetroWindow>