<UserControl x:Class="Aitex.Core.UI.Control.GasValveV3"
             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" 
             mc:Ignorable="d" 
             Name="myself" 
             Height="32" Width="32">
    <UserControl.RenderTransform>
        <RotateTransform x:Name="rotateTransform" Angle="0" CenterX="16" CenterY="16"/>
    </UserControl.RenderTransform>
    <Canvas>
        <Image Name="imagePicture">
            <Image.ContextMenu>
                <ContextMenu>
                    <MenuItem Header="Open Valve" Click="OpenValve"/>
                    <MenuItem Header="Close Valve" Click="CloseValve" />
                </ContextMenu>
            </Image.ContextMenu>
        </Image>
    </Canvas>
</UserControl>
