41 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			41 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| 
								 | 
							
								<!--主窗口-->
							 | 
						||
| 
								 | 
							
								<Window x:Class="DM_Weight.Views.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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
							 | 
						||
| 
								 | 
							
								        TextElement.Foreground="{DynamicResource MaterialDesignBody}"
							 | 
						||
| 
								 | 
							
								        TextElement.FontWeight="Regular"
							 | 
						||
| 
								 | 
							
								        TextElement.FontSize="13"
							 | 
						||
| 
								 | 
							
								        TextOptions.TextFormattingMode="Ideal" 
							 | 
						||
| 
								 | 
							
								        TextOptions.TextRenderingMode="Auto"
							 | 
						||
| 
								 | 
							
								        ResizeMode="NoResize"
							 | 
						||
| 
								 | 
							
								        Background="#eceff1"
							 | 
						||
| 
								 | 
							
								        FontFamily="{DynamicResource MaterialDesignFont}"
							 | 
						||
| 
								 | 
							
								        mc:Ignorable="d"
							 | 
						||
| 
								 | 
							
								        xmlns:prism="http://prismlibrary.com/"
							 | 
						||
| 
								 | 
							
								        WindowStartupLocation="CenterScreen"
							 | 
						||
| 
								 | 
							
								        Topmost="False"
							 | 
						||
| 
								 | 
							
								        prism:ViewModelLocator.AutoWireViewModel="True"
							 | 
						||
| 
								 | 
							
								        Title="主窗口" Height="768" Width="1024" WindowStyle="None" WindowState="Maximized">
							 | 
						||
| 
								 | 
							
								    <WindowChrome.WindowChrome>
							 | 
						||
| 
								 | 
							
								        <WindowChrome CornerRadius="4" GlassFrameThickness="1" />
							 | 
						||
| 
								 | 
							
								    </WindowChrome.WindowChrome>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								    <materialDesign:DialogHost
							 | 
						||
| 
								 | 
							
								        DialogMargin="0"
							 | 
						||
| 
								 | 
							
								        Identifier="RootDialog"
							 | 
						||
| 
								 | 
							
								        DialogTheme="Inherit"
							 | 
						||
| 
								 | 
							
								        SnackbarMessageQueue="{Binding ElementName=SnackbarThree, Path=MessageQueue}">
							 | 
						||
| 
								 | 
							
								        <Grid>
							 | 
						||
| 
								 | 
							
								            <ContentControl prism:RegionManager.RegionName="MainRegion"/>
							 | 
						||
| 
								 | 
							
								            <materialDesign:Snackbar
							 | 
						||
| 
								 | 
							
								                        x:Name="SnackbarThree"
							 | 
						||
| 
								 | 
							
								                        Background="{Binding Background}"
							 | 
						||
| 
								 | 
							
								                        MessageQueue="{Binding SnackbarMessageQueue}"/>
							 | 
						||
| 
								 | 
							
								        </Grid>
							 | 
						||
| 
								 | 
							
								    </materialDesign:DialogHost>
							 | 
						||
| 
								 | 
							
								    
							 | 
						||
| 
								 | 
							
								</Window>
							 |