Files
test_demo/MX-PD-盘古 - new/PanGu.DieBonderApp/MainShell/Resources/CustomControl/DieMapPreviewWindow.xaml

38 lines
1.7 KiB
Plaintext
Raw Normal View History

<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>