添加 MX-PD-盘古 项目文件
将 MX-PD-盘古 - new 目录下的所有文件添加到主仓库
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<Window x:Class="MainShell.Resources.CustomControl.DieMapPreviewWindow"
|
||||
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:local="clr-namespace:MainShell.Resources.CustomControl"
|
||||
x:Name="Root"
|
||||
Title="{Binding Caption, ElementName=Root}"
|
||||
Width="900"
|
||||
Height="700"
|
||||
MinWidth="640"
|
||||
MinHeight="480"
|
||||
WindowStartupLocation="CenterOwner"
|
||||
Background="#F3F4F6"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="900"
|
||||
d:DesignHeight="700">
|
||||
<Grid Margin="12">
|
||||
<Border BorderBrush="#C7C7C7"
|
||||
BorderThickness="1"
|
||||
Background="#F3F4F6">
|
||||
<Grid>
|
||||
<local:DieMapControl Background="{Binding MapBackground, ElementName=Root}"
|
||||
MapModel="{Binding MapModel, ElementName=Root}"
|
||||
Margin="12,12,12,36"
|
||||
DieSize="{Binding DieSize, ElementName=Root}"
|
||||
Spacing="{Binding Spacing, ElementName=Root}"
|
||||
DieClickedCommand="{Binding DieClickedCommand, ElementName=Root}"/>
|
||||
<TextBlock Text="{Binding Caption, ElementName=Root}"
|
||||
Foreground="#6B7280"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Bottom"
|
||||
Margin="0,0,0,12"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user