添加项目文件。
This commit is contained in:
52
MetroGauges/WpfPalette.xaml
Normal file
52
MetroGauges/WpfPalette.xaml
Normal file
@@ -0,0 +1,52 @@
|
||||
<Window
|
||||
x:Class="MetroGauges.WpfPalette"
|
||||
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:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:mgControls="clr-namespace:MetroGauges.Controls"
|
||||
Title="界面设置"
|
||||
Width="745"
|
||||
Height="310"
|
||||
AllowsTransparency="True"
|
||||
Background="{DynamicResource MaterialDesignBodyLight}"
|
||||
FontFamily="{StaticResource MaterialDesignFont}"
|
||||
ResizeMode="NoResize"
|
||||
ShowInTaskbar="False"
|
||||
TextElement.FontSize="13"
|
||||
TextElement.FontWeight="Regular"
|
||||
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
|
||||
TextOptions.TextFormattingMode="Ideal"
|
||||
TextOptions.TextRenderingMode="Auto"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
WindowStyle="None"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<materialDesign:ColorZone
|
||||
Width="115"
|
||||
Height="25"
|
||||
HorizontalAlignment="Left"
|
||||
Mode="PrimaryMid" />
|
||||
<Button
|
||||
x:Name="WindowClose"
|
||||
Height="Auto"
|
||||
Padding="0"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Top"
|
||||
Click="WindowClose_Click"
|
||||
Style="{DynamicResource MaterialDesignFlatButton}"
|
||||
ToolTip="关闭">
|
||||
<materialDesign:PackIcon
|
||||
Width="20"
|
||||
Height="20"
|
||||
Foreground="White"
|
||||
Kind="WindowClose" />
|
||||
</Button>
|
||||
<mgControls:PaletteSelector>
|
||||
<mgControls:PaletteSelector.DataContext>
|
||||
<mgControls:PaletteSelectorViewModel />
|
||||
</mgControls:PaletteSelector.DataContext>
|
||||
</mgControls:PaletteSelector>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user