添加 MX-PD-盘古 项目文件
将 MX-PD-盘古 - new 目录下的所有文件添加到主仓库
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
<UserControl x:Class="MainShell.Resources.CustomControl.DieMapPanelControl"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:MainShell.Resources.CustomControl"
|
||||
x:Name="Root"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="220"
|
||||
d:DesignWidth="260">
|
||||
<Border BorderBrush="#C7C7C7"
|
||||
BorderThickness="1"
|
||||
Background="#F3F4F6">
|
||||
<Grid>
|
||||
<local:DieMapControl Background="{Binding MapBackground, ElementName=Root}"
|
||||
MapModel="{Binding MapModel, ElementName=Root}"
|
||||
Margin="{Binding MapMargin, ElementName=Root}"
|
||||
DieSize="{Binding DieSize, ElementName=Root}"
|
||||
Spacing="{Binding Spacing, ElementName=Root}"
|
||||
DieClickedCommand="{Binding DieClickedCommand, ElementName=Root}"/>
|
||||
<Button Width="24"
|
||||
Height="24"
|
||||
Margin="0,6,6,0"
|
||||
HorizontalAlignment="Right"
|
||||
VerticalAlignment="Top"
|
||||
Click="OpenPreviewWindow"
|
||||
ToolTip="放大查看"
|
||||
FontSize="12"
|
||||
FontWeight="Bold"
|
||||
Content="⛶"/>
|
||||
<TextBlock Text="{Binding Caption, ElementName=Root}"
|
||||
Foreground="{Binding CaptionForeground, ElementName=Root}"
|
||||
VerticalAlignment="Bottom"
|
||||
HorizontalAlignment="Center"
|
||||
Margin="{Binding CaptionMargin, ElementName=Root}"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user