I’d like to know if it is possible to define as the text of a Button in WPF, something like:
a b c
I’ve tried setting
alt text http://img651.imageshack.us/img651/1838/ctldhrzhy41gbrcch4dpjz4.png
but that doesn’t seem to work.
Is it only possible to use the Bold tag with FlowDocuments?
Thanks
Use a
TextBlockto hold the formatted text:Per your comment, if you want to be explicit about the fact that this sets the
Contentproperty, you can use XAML property element syntax to do so:However this is redundant because
Buttonhas aContentPropertyAttributewhich makes the first version exactly equivalent to the second anyway.