Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

Expression Blend : Working with Text – WPF Tutorial #7

with 3 comments

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.

Advertisements

Written by Manish

October 17, 2007 at 1:51 pm

Posted in .NET, .NET 3.0, WPF

3 Responses

Subscribe to comments with RSS.

  1. can u give me the validation control for
    text boxes in vb script using blend

    Ranjit

    March 1, 2008 at 11:28 am

  2. I dont have that control actually.

    Manish

    March 1, 2008 at 11:55 am

  3. can u give me some code for separating each character with some space i.e. “a b c d” at runtime meas when i m typing in a textbox or rtf

    manisha

    March 28, 2008 at 5:54 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: