I have a custom control which has a string Description dependancy property as shown below:
<CustomControl>
<CustomControl.Description>
Hello World
</CustomControl.Description>
</CustomControl>
This description is bound in several places in TextBlock's as shown below:
<Button>
<Button.ToolTip>
<TextBlock Text="{Binding Path=Description}"/>
</Button.ToolTip>
<TextBlock Text="{Binding Path=Description}"/>
</Button>
How can I add new lines and bold formatting to the text blocks? I have tried:
- Adding
\r\n
to the description but this is not picked up. - Adding


or

to the description but this is not picked up. - Adding
<![CDATA[<LineBreak/>]]>
to the description but this is not picked up. - Changing the type of the Description to a Label and using ContentPresenter controls to bind to the label but I found that only one ContentPresenter can bind to the Label at a time and the other keeps dissapearing.
- Changing the type of Description to a FlowDocument but I found that I could not add multiple viewer controls to view the same document.