<Window x:Class="filedialog.MainWindow" 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:filedialog" mc:Ignorable="d" Title="MainWindow" Height="450" Width="800"> <Grid> <Grid.RowDefinitions> <RowDefinition></RowDefinition> <RowDefinition></RowDefinition> </Grid.RowDefinitions> <Button Name="btnFire" Content="Fire" Width="100" Height="40" Click="btnFire_Click"></Button> <TextBlock Grid.Row="1" Name="tbInfo" FontSize="16" VerticalAlignment="Center" HorizontalAlignment="Center"></TextBlock> <Image HorizontalAlignment="Left" Height="100" Margin="241,109,0,0" Grid.Row="1" VerticalAlignment="Top" Width="100" Name="imageholder"/> </Grid> </Window>