Understanding text overflow and text linking


show more Understanding text overflow and text linking provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Silverlight 5 Essential Training show less
please wait ...

Understanding text overflow and text linking

Silverlight includes a read-only version of the rich TextBox called the RichTextBlock. It works with the same text elements, like bold and span as the RichTextBox. It was added to the framework to enable multicolumn and custom overflow layout. If you want to create a three- column, magazine style layout then the RichTextBlock is your element. It works with another read-only control called the RichTextBlockOverflow. I'm inside Visual Studio for this demo. I've opened a project called TextOverflow.

I'll start by looking at the LongTextPage.xaml file. In my XAML I'm adding a RichTextBox and I'm loading the content from a file. I have a content file in the Docs folder called ExploreCa.sav. I marked it as a resource to my project which means it is packaged in the XAP and I can write code to load it into my application. I'll show you that code now. I go to my LongTextPage.xaml.cs file, and I'll show you that I have this have this page loaded event here.

I start by going...

Understanding text overflow and text linking
Video duration: 3m 14s 8h 52m Beginner

Viewers:

Understanding text overflow and text linking provides you with in-depth training on Developer. Taught by Walt Ritscher as part of the Silverlight 5 Essential Training

Subject:
Developer
Software:
Silverlight Visual Studio
Author:
please wait ...