You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in order to render differently colored text on a single line, a ColumnSet has to be used. While this mostly works, it makes the markup a little bit clunky, and in some cases also leads to text wrapping poorly:
Asks
Bing
Potential Designs
Option 1:
Since Markdown syntax is already supported in TextBlocks, one option is to add support for some type of "Markdown-like" syntax for defining font colors.
Alternatively, being able to create TextBlocks that display inline would also work. This option would likely be more difficult to implement with regard to handling wrap and maxLines parameters, though.
The Problem
Currently, in order to render differently colored text on a single line, a ColumnSet has to be used. While this mostly works, it makes the markup a little bit clunky, and in some cases also leads to text wrapping poorly:
Asks
Potential Designs
Option 1:
Since Markdown syntax is already supported in TextBlocks, one option is to add support for some type of "Markdown-like" syntax for defining font colors.
Option 2:
Alternatively, being able to create TextBlocks that display inline would also work. This option would likely be more difficult to implement with regard to handling
wrap
andmaxLines
parameters, though.Option 3
Mimick what XAML does with RichTextBlock...
This could also be our solution for inline actions, #865, too, and inline advanced emojis #1645
The text was updated successfully, but these errors were encountered: