This is a mirror of official site: http://jasper-net.blogspot.com/

Multi Column Text support in Silverlight 5

| Wednesday, May 18, 2011
Silverlight 5 has now support for Multi Column Text. By using this feature you will be able to show your text content in column wise. If you are working for a news publisher company or want to publish your text content in column format, this feature will help you definitely. If you implemented this in your application, your text content will automatically position itself in next column if user resizes the application.
 
So, want to learn about it? Let's discuss on it with a simple example. Read to know more.
 
 
Background
Let's take a real world scenario to understand it better. Suppose you are working in a newspaper company and your job is to create a web application in Silverlight for them where all the news will be available in a column format as you see in the newspaper. Another requirement is, when user resizes the application it should arrange it's content in the columns properly. So, how to do it?
 
Silverlight 5 Beta has the support for Multi Column text to use with RichTextBox. Using it you will be able to implement the same behaviour. Let's describe it in depth.
 
Below is a screenshot of our demo app where we will have three columns layout. The content will start rendering in the first column. If the content size increases more than the size of the column, it will start rendering it in the second column. Once the second column become full, it will start rendering in the third column, as shown below:

image%5B3%5D.png?imgmax=800

Read more: Kunal's blog

Posted via email from Jasper-net

0 comments: