title: BitmapImage exception
body: <p>Here is my XAML code:</p>
  
  <pre><code>&lt;Image Stretch="Fill" Margin="15,0,0,0" ToolTip="{Binding ImagePath}" Width="110" Height="100" &gt;
    &lt;Image.Source&gt;
     &lt;BitmapImage RenderOptions.BitmapScalingMode="LowQuality" CacheOption="OnLoad" DecodePixelWidth="200" CreateOptions="IgnoreColorProfile" UriSource="{Binding ImagePath ,FallbackValue={StaticResource Lost},TargetNullValue={StaticResource Lost}}"/&gt;
    &lt;/Image.Source&gt;
  &lt;/Image&gt;
  </code></pre>
  
  <p>This is giving me this error:</p>
  
  <blockquote>
    <p>An unhandled exception of type
    'System.Windows.Markup.XamlParseException' occurred in
    PresentationFramework.dll</p>
    
    <p>Additional information: Initialization of
    'System.Windows.Media.Imaging.BitmapImage' threw an exception.</p>
  </blockquote>
  
  <p>Some times UriSource get null or invalid path that time i want to display default image </p>