Reporter | Drew Noakes (drewnoakes) |
---|---|
Created | Mar 8, 2012 10:42:12 PM |
Updated | Mar 8, 2012 10:42:12 PM |
Priority | Normal |
Type | Feature |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | 6.1 |
Fixed in build | No Fixed in build |
This XAML has a problem which is not shown by R#. You cannot set a binding on a non-dependency property. Currently this only fails at runtime, but it should be easy to flag as an error, right? ;-)
<m:MyClass MyProperty="{Binding Path=Foo}" />
public class MyClass : UserControl { public int MyProperty { get; set; } }