Skip to content

Simple RichFormat TextBlock for WPF, you can use both with or without Binding

Notifications You must be signed in to change notification settings

verdesgrobert/simple-richformat-textblock-wpf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple RichFormat TextBlock for WPF

Simple RichFormat TextBlock for WPF, you can use both with or without Binding

The markdown is basically in this format [property=value]content[property]

Property StartTag EndTag Notes Example
FontWeight [weight=value] [weight] check MSDN for accepted values [weight=semibold] this text is semibold[weight]
FontSize [fsize=value] [fsize] If you place + or - after fsize= the value will be added to the previous font size, this way you can have the sizing relative to the context in which the text will be placed. [fsize=25]this text has 25px in height[fsize]
Foreground [color=value] [color] HEX,KnownColor ecc, everything that this method can convert to a Color: 'ColorConverter.ConvertFromString' [color=LightSkyBlue] this text is blue[color]
Images [image=value] Path to image file supported by WPF [image=c:\pathtoyourimage\image.png]
Many others coming in future versions.

About

Simple RichFormat TextBlock for WPF, you can use both with or without Binding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages