title: XAML window shows image blurred
body: <p>I'm new in WPF and I'm trying to show an image in a WPF windows, and then show a button, and two links in a absulute coordinate. I have two problems:</p>
  
  <ol>
  <li>The floating controls are moved from one computer to other</li>
  <li>The image is blurred. I think that is being resized.</li>
  </ol>
  
  <p>The form must be a fixed dialog, and the image size is 800x560.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;Window
          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" mc:Ignorable="d" x:Class="A.B.C.IntroGuideWindow"
          Title="Intro guide" Icon="../Resources/app_icon.ico"
          Background="{DynamicResource DialogBackgroundBrush}" ResizeMode="NoResize" WindowStartupLocation="CenterScreen"
          WindowStyle="None"
          Style="{DynamicResource WindowStyle}" SnapsToDevicePixels="True" TextOptions.TextFormattingMode="Display" Width="830" Height="660"&gt;
      &lt;Window.Resources&gt;
          &lt;ResourceDictionary&gt;
              &lt;ResourceDictionary.MergedDictionaries&gt;
                  &lt;ResourceDictionary Source="../ResourceDictionaries/Colors.xaml"/&gt;
                  &lt;ResourceDictionary Source="../ResourceDictionaries/BasicStyles/StandardWindowStyle.xaml"/&gt;
                  &lt;ResourceDictionary Source="../ResourceDictionaries/ButtonStyles/ActionFlatButtonStyle.xaml"/&gt;
                  &lt;ResourceDictionary Source="../ResourceDictionaries/ButtonStyles/CancelButtonStyle.xaml"/&gt;
              &lt;/ResourceDictionary.MergedDictionaries&gt;
          &lt;/ResourceDictionary&gt;
      &lt;/Window.Resources&gt;
      &lt;Grid VerticalAlignment="Top"&gt;
          &lt;Grid.RowDefinitions&gt;
              &lt;RowDefinition Height="Auto" MinHeight="22"/&gt;
              &lt;RowDefinition Height="Auto"/&gt;
              &lt;RowDefinition Height="Auto"/&gt;
          &lt;/Grid.RowDefinitions&gt;
          &lt;TextBlock Margin="10,10,10,10" FontFamily="Segoe UI" FontSize="21"
              FontWeight="SemiBold" Foreground="{DynamicResource FontBrush}" Grid.Row="0"&gt;
              &lt;Run Text="Intro guide" /&gt;
          &lt;/TextBlock&gt;
          &lt;Button x:Name="closeButton" Style="{DynamicResource CloseChromeButtonStyle}"
              Click="CancelButton_Click" Grid.Row="0"
              Content="r" HorizontalAlignment="Right" Margin="0,6,6,0" FontFamily="Webdings" IsTabStop="False" /&gt;
          &lt;Image x:Name="CurrentImage" Grid.Row="1" Width="800" Height="560" Stretch="None" Source="Images/sm-eval-guide-09.png" SnapsToDevicePixels="True"/&gt;
          &lt;Button x:Name="OpenSamplesButton" Content="Click here to open the samples directory" IsDefault="False"
              Style="{DynamicResource ActionFlatButtonStyle}"
              Margin="256,115,265,434" Width="301" Height="23" Click="OpenSamplesButton_Click" Grid.Row="1"/&gt;
          &lt;TextBlock x:Name="DocumentationLink" Margin="2,221,-2,333" Grid.Row="1" TextAlignment="Center" VerticalAlignment="Center" FontFamily="Arial" FontSize="14" FontWeight="Bold"&gt;
              &lt;Hyperlink Foreground="#00A586" NavigateUri="http://www.example.com/#documentation"&gt;http://www.example.com/#documentation&lt;/Hyperlink&gt;
          &lt;/TextBlock&gt;
          &lt;TextBlock x:Name="TwitterLink" Margin="590,415,84,137" Grid.Row="1" VerticalAlignment="Center" FontFamily="Arial" FontSize="16" FontWeight="Bold"&gt;
              &lt;Hyperlink Foreground="#00A586" NavigateUri="https://twitter.com/xxx"&gt;@xxx&lt;/Hyperlink&gt;
          &lt;/TextBlock&gt;
          &lt;Grid VerticalAlignment="Top" Grid.Row="2"&gt;
              &lt;Button x:Name="PreviousButton" Content="Previous" IsDefault="False"
                  Style="{DynamicResource ActionFlatButtonStyle}"
                  Margin="0,0,200,10" Width="90" HorizontalAlignment="Right" Click="PreviousButton_Click"/&gt;
              &lt;Button x:Name="NextButton" Content="Next" IsDefault="True"
                  Style="{DynamicResource ActionFlatButtonStyle}"
                  Margin="0,0,105,10" Width="90" HorizontalAlignment="Right" Click="NextButton_Click"/&gt;
              &lt;Button x:Name="CloseButton" Content="Close" IsDefault="False"
                  Style="{DynamicResource ActionFlatButtonStyle}"
                  Margin="0,0,10,10" Width="90"
                  VerticalAlignment="Bottom" HorizontalAlignment="Right" Click="CloseButton_Click"/&gt;
              &lt;CheckBox x:Name="DontShowAgainCheckbox" Content="Don't show this window again." HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Checked="DontShowAgainCheckbox_Checked"/&gt;
          &lt;/Grid&gt;
      &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>