I've created a multibinding converter (ListItemDescriptionConverter) that will combine several values into a single string as output for ListBox items. However I don't know how to get the resource dictionary to point to the converter class in a separate .cs file. It cannot be found when I use the following markup:
<TextBlock Style="{StaticResource BasicTextStyle}">
<TextBlock.Text>
<MultiBinding Converter="StaticResource {ListItemDescriptionConverter}">
<Binding Path="Genres"></Binding>
<Binding Path="Year"></Binding>
</MultiBinding>
</TextBlock.Text>
</TextBlock>
Is there something else I must do within the resource dictionary to access the converter class? I cannot add the reference within Window.Resources
as it needs to be within a resource dictionary so I can reuse the style throughout my app.