BBCodeBlock as a ItemTemplate for a ListBox not honouring the tags

May 22, 2013 at 7:18 PM
I have a list box whose ItemTemplate contains only a BBCodeBlock like so:
<UserControl.Resources>      
        <DataTemplate x:Key="StatusTextTemplate">
            <mui:BBCodeBlock BBCode="{Binding}" />
        </DataTemplate>
    </UserControl.Resources>

<ListBox Grid.Row="3"                
                 ItemsSource="{Binding IssueStatusText}"
                 ItemTemplate="{StaticResource StatusTextTemplate}">
But I can't seem to get any of the tags (specifically, color) to work. All the text comes out black.

I'm looking for the text to be the normal ItemText color, but if the listbox item has a [color=] bbcode tag, I want the text to appear in that color.

any ideas?
Coordinator
May 24, 2013 at 3:12 PM
This should be working fine. How does your IssueStatusText look like, is your BBCode correct?