June 2010 Entries

TextBox with Strikethrough in Silverlight by modifying the TextBox template
Someone recently asked about a strikethrough in a TextBlock. The need was for a short piece of text that was dynamically generated. I messed with some solutions and came up with the following: I used a TextBox rather than the TextBlock. If you don’t want it to be editable, I suggest isReadOnly to true. You can change the read only part of the template if you don’t want it to look different in Read only view. Put a TextBox on the form. Right click on the TextBox and choose EditTemplate -> Edit ......

Posted On Sunday, June 27, 2010 1:28 AM | Comments (1)

Speaking –NT PC User Group C# Sig – 7/10/10
At Microsoft Office in Irving, TX http://sp.ntpcug.org/VBNETS... This meeting changed topic after poling the audiece and seeing what they wanted to hear about. It was still all about blend but it was more about getting started with blend then hard core templating. Here is a link to the video that Shawn Weisfeld took and posted of the event. Enjoy!!! http://www.drowningintechni... Join ......

Posted On Saturday, June 19, 2010 11:38 PM | Comments (0)

Now you're Stylin’
The idea is to define colors and style templates in resource dictionaries that can be easily changed out to change the look and feel without touching the code. Blend is a good tool for managing and modifying resource dictionaries. It is the same ideas behind CSS LOCATION: There are very few times when I make a color resource local page and even fewer when I will statically define a color. Instead, I define my Resource Dictionary(s) when I first start a project and in the Dictionary(s), I immediately ......

Posted On Friday, June 18, 2010 5:56 PM | Comments (0)

Silverlight and Windows Phone 7 DFW DevCamp (Silverlightpalooza) is around the corner
It is really shaping up to be everything I had hoped. Prizes are stacked up behind me. Food is in place. I have a set of wonderful volunteers beside me. The event has been full for weeks. I will not be doing any official blogging for this event on this blog. You will have to watch the official blog for that http://silverlightpalooza.d... – June 18th and 19th. I plan to post pictures and descriptions of everyone’s projects during the event. It is going to be wonderful fun. Shawn ......

Posted On Tuesday, June 15, 2010 9:00 PM | Comments (0)

#TechEd 2010
It has been another fantastic year for TechEd North America. I always love my time here. First, I have to give a huge thank you to Ineta for giving me the opportunity to work the Ineta booth and BOF’s (birds of a feather). I can not even begin to list how many fantastic leaders in the .Net space and Developers from all over I have met through Ineta at this event. It has been truly amazing and great fun!! New Orlean’s has been awesome. The night life is hoppin’. In addition to enjoying a few (too ......

Posted On Tuesday, June 15, 2010 1:32 PM | Comments (0)

Mousin' down the PathListBox
While modifying the standard media player with a new look and feel for Ineta Live I saw a unique opportunity to use their logo with a dotted I with and attached arc as the scrub control. So I created a PathListBox that I wanted an object to follow when a user did a click and drag action. Below is how I solved the problem. Please let me know if you have improvements or know of a completely different way. I am always eager to learn. First, I created a path using the pen tool in Expression Blend (see ......

Posted On Tuesday, June 15, 2010 1:30 PM | Comments (0)

Template standard controls for an entirely new look and feel
This is the Ineta Live player without the O’Data Feed. It is a good example of taking the plain Media Player provided with the Encoder install and re-templating it to make it your own. It also has a custom scrub control that is added in. I generally put my tempates in a separate resource file. On this project, I discovered that I had to include the template at the document level because I needed the ability to attach some code behind to fire change state behaviors. I could not use the blend xaml ......

Posted On Tuesday, June 15, 2010 1:26 PM | Comments (0)