XAML: Dependency property field missing

I have extracted a control template from a 3rd party control. R# 6.1 EAP (C#) is reporting an "Dependency property field missing" error although the property does exist.

XAML snippet:
<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" />

Decompiled with ILSpy, the property definition looks like this:
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
public override DataTemplate ContentTemplate
        return base.ContentTemplate;

Is reporting an error here correct with respect to the attributes, or should R# accept the property definition as valid?


Please sign in to leave a comment.