Is it possible to use ValueConverter with Inlines? I need some parts of the every line in a ListBox bolded.
<TextBlock>
<TextBlock.Inlines>
<MultiBinding Converter="{StaticResource InlinesConverter}">
<Binding RelativeSource="{RelativeSource Self}" Path="FName"/>
</MultiBinding>
</TextBlock.Inlines>
</TextBlock>
It compiles but I get: A 'MultiBinding' cannot be used within a 'InlineCollection' collection. A 'MultiBinding' can only be set on a DependencyProperty of a DependencyObject.
If that is not possible, what approach would you suggest to be able to pass the whole TextBlock to IValueConverter?