support for xaml binding

Are bindings in xaml/wpf supported in the latest ReSharper?
I was testing the latest version (evaluation), but I get errors like 'Cannot resolve symbol'

ItemsSource="{Binding Source={StaticResource EmployerSource}}"
SelectedValue="{Binding Path=Employer}"

2 comments

It works for me. Have you set up a design-time data context?

Eg:

<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:vm="clr-namespace:YourViewModelNamespace"
    d:DataContext="{d:DesignInstance vm:YourViewModelClass}"
>

0

Please sign in to leave a comment.