Summary
Altogether, the collection of “blocks” and “boxes” covered in this chapter is a bit of an inconsistent mishmash. The distinction between TextBlock
and RichTextBlock
is logical, although the degree of richness already in TextBlock
makes it seem odd that there even needs to be two separate controls. (Even if you were previously familiar with TextBlock
, you probably didn’t realize just how rich it was before reading this chapter!)
Although TextBox
is essentially the editable version of TextBlock
, the fact that it operates only on a string makes it a much simpler control than TextBlock
in many ways. This is, of course, entirely reasonable, considering how TextBox
es are almost always used. The absence of a RichTextBox
control leaves a small ...
Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.