<mah:MetroWindow x:Class="ZKuP.BEImage"
        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:mah="http://metro.mahapps.com/winfx/xaml/controls"
        xmlns:local="clr-namespace:ZKuP"
        mc:Ignorable="d"
        Title="BE-Flächenansicht" Height="650" Width="1100" Loaded="Window_Loaded" LocationChanged="Window_LocationChanged">
    <Grid>
        <ComboBox x:Name="cbBE" HorizontalAlignment="Left" Margin="144,10,0,0" VerticalAlignment="Top" Width="266" SelectionChanged="cbBE_SelectionChanged" SelectedIndex="0">
 
        </ComboBox>
        <TextBlock HorizontalAlignment="Left" Foreground="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" Margin="35,10,0,0" TextWrapping="Wrap" Text="BE-Fläche:" VerticalAlignment="Top" Height="22" Width="104" Padding="0,2,0,0"/>

        <UniformGrid x:Name="imgBE" Columns="4" Margin="10,50,10,10" HorizontalAlignment="Stretch" VerticalAlignment="Top"/>

        <Border x:Name="imgBorder" Visibility="Collapsed" Margin="10,46,10,10" BorderBrush="Red" HorizontalAlignment="Center" VerticalAlignment="Center" BorderThickness="2" >
            <Image x:Name="imgBESingle" Visibility="Visible" HorizontalAlignment="Center" VerticalAlignment="Center" ToolTip="Klicken zum schließen" PreviewMouseLeftButtonUp="imgBESingle_PreviewMouseLeftButtonUp" LostMouseCapture="imgBESingle_LostMouseCapture"/>
        </Border>
    </Grid>
</mah:MetroWindow>
