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 TextBoxes are almost always used. The absence of a RichTextBox control leaves a small ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access