DISPLAYING DATA

These controls are used primarily to display data to the user. The following table briefly describes these WPF controls.

CONTROL PURPOSE
Label Displays non-editable text.
TextBlock Displays more complex non-editable text. This control’s contents can include inline tags to indicate special formatting. Tags can include AnchoredBlock, Bold, Hyperlink, InlineUIContainer, Italic, LineBreak, Run, Span, and Underline.
TreeView Displays hierarchical data in a tree-like format similar to the directory display provided by Windows Explorer.

Get Visual Basic 2012 Programmer's Reference 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.