Posts

Showing posts from June, 2016

Single Textblock with multiple Font settings

Image
Today, I faced a requirement where I had to show some text and a down-arrow in default Ribbon control. Now, since this ribbon can have only one child, I had to come up with smart solution without much of code-behind. Application Menu After surfing, I got to know about this Inline feature of Textblock. TextBlock.Inlines property states:  An  InlineCollection  containing the  Inline  elements that comprise the contents of the  TextBlock . I added: You can also go with code-behind solution like this: