To find a parent item of type T, you can use the following helper class: This can then be utilised as follows: Grid item = ((DependencyObject)childObject).FindParentOfType(); This was particularly useful when wanting to locate an invalid control from a ValidationSummary in silverlight, that was nested in an accordian panel: BIG shout out goes to Jedi... Continue Reading →
Silverlight PRISM Commands – TextChanged
Out of the box the Patterns and Practices PRISM code only supports the click event handler. Writing additional handlers really is very easy. Firstly there are two great starter blogs which I’m not going to recreate: How Commanding Works in Prism and MVVM by Erik Mork and A code snippet to quickly write Prism commands... Continue Reading →