<UserControl x:Class="NEIntelligentControl2.Views.BoostStation.SubStationView"
             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:NEIntelligentControl2.Views.BoostStation"
             xmlns:svg="clr-namespace:SVGViewer;assembly=SVGViewer"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800" Loaded="UserControl_Loaded" Margin="10" MaxHeight="337.5">
    <UserControl.Effect>
        <DropShadowEffect ShadowDepth="0"/>
    </UserControl.Effect>
    <Border Background="WhiteSmoke" CornerRadius="7">
        <Grid Margin="5">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Viewbox x:Name="_vb"/>
            <!--<svg:SVGView x:Name="_svg"/>-->
            <TextBlock x:Name="_TBTitle" Grid.Row="1" HorizontalAlignment="Center" Margin="10"/>
        </Grid>
    </Border>

    <UserControl.ContextMenu>
        <ContextMenu>
            <MenuItem Header="编辑" Click="MenuItem_Click" Tag="edit"/>

            <Separator/>

            <MenuItem Header="删除" Click="MenuItem_Click" Tag="remove"/>
        </ContextMenu>
    </UserControl.ContextMenu>
</UserControl>
