If you attempt to create a rich text box in xaml like this:
<rtb:RichTextBox>
<rtb:FlowDocument>
<rtb:Paragraph>
</rtb:Paragraph>
</rtb:FlowDocument>
</rtb:RichTextBox>
it leads to:
Internal compiler error: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') (ResolveContentPropertyTransformer). How are you supposed to use this control and bind to items in xaml?