Nirav's Blog

Thursday, February 11, 2010

Expression Blend Tutorials

Hi guys,
I found very good tutorials published by a blogger named "Gavin Wignall" on his blog. It will be very useful to you if you are a beginner. Have a look at : http://www.silverlightbuzz.com/tutorials/

Some more essential learning videos at: http://dotnet.dzone.com/articles/expression-blend-essentials

http://victorgaudioso.wordpress.com/2010/02/27/new-silverlight-video-tutorial-the-blend-ide-%E2%80%93-part-4-the-objects-timeline-and-states-panel/

Tuesday, February 9, 2010

Silverlight Textblock Styling

As you know that Silverlight textblock does not have any styling provision, you cannot have background or border set for Textblock. To come over this limitation, I have used a TextBox with its properties IsReadOnly set to True and IsEnabled set to False. I am providing a style which you can apply directly to a textbox. Only thing you need to do is that use textbox instead of textblock where you required some stylized textblock.

You can user the xaml file which contains style and Textbox indicating how to use the same.
Here is the url:

http://cid-cd9cdbf38105503c.skydrive.live.com/self.aspx/Blog%20Posts/ReadOnlyTextBlock%20Style.txt