<Border x:Class="智慧物流软件系统.Views.Controls.ImageDialog"
          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:hc="https://handyorg.github.io/handycontrol"
    CornerRadius="10"
    Width="300"
    Height="186"
    Background="{DynamicResource RegionBrush}">
    <hc:SimplePanel>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
            <Image Name="image1"> </Image>
        </StackPanel>
        <Button Width="22" Height="22" Command="hc:ControlCommands.Close" Style="{StaticResource ButtonIcon}" Foreground="{DynamicResource PrimaryBrush}" hc:IconElement.Geometry="{StaticResource ErrorGeometry}" Padding="0" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,4,4,0"/>
    </hc:SimplePanel>
</Border>
