Expression Blend : Working with Text – WPF Tutorial #7
Hope you are enjoying the Tutorial series of Blend. Please let me know if it needs any improvements.
The next section is covering the Text area of WPF. Until now, we have done how to work with objects (shapes/paths), Drawing shapes/paths and giving appearance to the shapes/path and controls.
Now, agenda of this chapter is to show how to work with the Text controls. The first thing we need to know is which controls are provided in Expression Blend/WPF.
As you are aware with TextBox, RichTextBox, PasswordBox and Label. TextBlock is similar to Label. It provides readonly textblock to user. The only difference between TextBlock and Label is, Label can provide mnemonics support.
FlowDocumentScroll Viewer Provides section which has scrollbar support for that area.
You can edit the appearance same as we have done for shapes/paths.
Formatting Texts : There are many ways for formatting text. Following are the icons which used for the same. Almost all feature may be already used by you working with microsoft office.
There are all the features of text formatting like Font face, size, bold, italic, underline, paragraph, indentation, margins, bulleted or numbered list.
It’s really simple and bery useful though.