Author Archives: Corey

NotificationWindow – Silverlight 4

A new addition to Silverlight 4 is the NotificationWindow.  This type of window enables you to show a System notification much like when you receive an Outlook new mail notification or a Growl notification in OSX. Since it operates like a system message, this feature is only available in Out of Browser (OOB) scenarios.
This example [...]

Silverlight 4 – new features

When Silverlight 3 debuted at MIX09, there were a number of places to find information about the new features, so better than others.  Unfortunately I never remembered the sites and always relied on Google to produce the site for me.  This time will be different; this post will serve as my place for SL4 info.
[...]

Check if running in Out of Browser - Silverlight

As Silverlight increases its Out of Browser features it will become more important to detect if the application is running in or out of the browser.  This is the check:

This was a quick one.

Behavior driven development

A session that caught my eye from PDC was a session titled Behavior driven development vs Test driven development.  I don’t think this session had direct ties to Silverlight, however it made me think about Silverlight Behavior development.  Could this be a topic?
Lately I have been a big advocate about using behaviors for UI interactions [...]

Top 5 Silverlight Behaviors

Finding behaviors for Silverlight has become much easier with the Expression Community Gallery.  The goal is to have a central place for all things Expression.  It’s still young, but gaining steam.  Being a big fan of behaviors, I have compiled a list of my top 5 favorite Silverlight behaviors.   
5. TextboxEditMask
link: http://gallery.expression.microsoft.com/en-us/CMEditMaskBehavior
For data input, there [...]

Silverlight MVP

On October 1st I was awarded the Microsoft MVP for Silverlight.  I am very honored and excited about this.  The MVP program, taken from Tim Heuer’s post, “ is a recognition program that is in place to recognize and reward those individuals who have been identified by individuals (peers, Microsoft staff, etc.) as experts in [...]

Silverlight tip – managing HTML

Problem: Silverlight 2 & Silverlight 3 do not support HTML, how can I remove the tags?
Solution: Although there are many solutions to this problem, the quickest and most frequently solution I use is a regular expression to remove HTML tags.  The most straightforward example I’ve found is from John Papa’s book Data Driven [...]

Silverlight tip – Dynamic TextBlock

Problem: You need text to dynamically add elipses, "…",  to the end of a sentence.  The difficulty is how do you detect the actual length of the string.  All characters are not created the same.  Ten i’s != ten m’s.
Solution: Robby Ingebretsen at NerdPlusArt.com (and of Kaxaml fame) has a dynamic control that does [...]

Back to the basics

It’s been almost two years since I started this blog.  It mainly started out as a way for me to keep track of my learnings (unfortunately Evernote has taken that place).  There are a number of other sites that have similar information, but that’s the point of blogs to provide information to the community. 
Certainly [...]

Changes – IQ, Turin, and more

Over the past six months I’ve had the amazing opportunity to work with a highly talented team (Mason Brown, Casey Britt, SmartyP, and many more) at IQ Interactive.  We’ve been working on an amazing, ground breaking, Silverlight application.  There wasn’t a stone unturned while developing.  Items such as Pixel Shaders, custom Panels, animations for [...]