Build XAML highlighting


In the attached XAML, the properties Data, StatusMessage, LoadCommand and SaveCommand are all public properties on ContractDetailViewModel.

In the StackPanel, Resharper correctly identifies the LoadCommand and SaveCommand.

In the RadGridView, Resharper is unable to resolve symbol:Data

In the StatusBarItem, Resharper insists on introducing the class reference as Source.

Why is this?

I would have thought that if LoadCommand/SaveCommand have been picked up from the DataContext, why would the other properties not be?

It's extremely annoying, because if I accidentally press Alt+Enter, Resharper inserts the class reference for StatusMessage.

Is there anything that can be done about this?


Resharper - wpf.png

Please sign in to leave a comment.