Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-287747: Should warn when using Binding.ElementName in XAML to an unknown element name

$
0
0
Reporter Drew Noakes (drewnoakes) Drew Noakes (drewnoakes)
Created Jan 13, 2012 2:42:15 PM
Updated Mar 21, 2012 8:09:17 PM
Priority Normal
Type Feature
Fix versions No Fix versions
State Submitted
Assignee Alexander Shvedov (shvedov)
Subsystem Language - XAML
Affected versions 6.1
Fixed in build No Fixed in build
<Window x:Class="BP.Gem360.VoyageCalculator.Client.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <TextBlock Text="{Binding ElementName=_nonExistant, Path=Name}" />
</Window>


No element name is known with name _nonExistant.

I can't think of a reason why this wouldn't be a useful warning.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>