Caret Brush

WPF provides extensive customizability to app authors, allowing them to change the default look and feel of most controls. One exception to this has been the color of the caret in WPF TextBoxes and RichTextBoxes.  Since this functionality was not originally provided, the community has been forced to create complex workarounds. In WPF 4.0, control…

0

Selection Brush

The default visual appearance of most objects in WPF can be easily tweaked, if not swapped out for a completely different visual tree.  This provides developers far greater power over the visual look of an application than ever before. Facilitating the creation of highly customized apps has become a major adoption point for WPF. Despite…

2

Layout Rounding

WPF’s layout engine frequently gives elements sub-pixel positions. Antialiasing algorithms cause these sub-pixel positioned elements to be rendered over multiple physical pixels after filtering. This can result in blurry lines and other non desirable rendering artifacts. Layout rounding has been introduced in WPF 4.0 to allow developers to force the WPF layout system to position elements…

12

WPF 4.0 Text Stack Improvements

Please note that the screenshots in this post are not displaying correctly. To view them in their full fidelity, right click on them and save them as a .PNGs.  Then use your image viewing program of choice.     Text Formatting API The attached property TextOptions.TextFormattingMode has been introduced to switch the text metrics used…

42

Back to WPF Text Blog

Since DirectWrite will now be using a different blog, the name of this blog will return to WPF Text Blog. – Chipalo

0