(X) Hide this Watch the recordings of our recent webinars: Switching on the Cloud for Silverlight by Gill Cleeren and WCF RIA Services Validation by Brian Noyes.
Sign up for the upcoming SilverlightShow webinars
Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 3 results for Marlon Grech.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Mar 22, 2011 (3 weeks ago)

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterIn this post, Colin Blair is integrating Marlon Grech’s MEFedMVVM library into John Papa’s MVVM code from Firestarter.

    Source: The Elephant and the Silverlight

    Back on December 2, 2010 John Papa gifted the community with an excellent example of proper Silverlight architecture and I have been recommending people watch the video, download John’s code, and follow the pattern to create their own applications.

    Over the last couple of weeks I have started a new project at work and this time I have decided to follow the example I have given to others. This experience is showing some places where my own preferences diverge from John’s so I have decided to share my changes with the community. I am taking the experiences in my own project and porting them into John’s project. I am not going to dump all of my changes in at once, I am going to be making gradual changes across at least three blog posts.


  • 0 comments  /  posted by  Silverlight Show  on  Dec 29, 2010 (3 months ago)

    In his previous post, Marlon Grech explained how Silverlight 4 lacks the UpdateSourceTrigger for PropertyChanged and how to overcome this issue for the TextBox. In this post he shows how to do this for any Dependency Property of any Framework element.

    Source: C# Disciples

    Please note that this post is quite an experimental one. Probably the use case you are looking for is for the textbox scenario, if that is the case I would suggest that you use the more explicit approach i.e the one I show in my previous post. The take away from this post should be more the idea of how things work rather than the actual code I am using here, this code was never tested in production thus it might contain memory leaks and other issues.

  • 0 comments  /  posted by  Silverlight Show  on  Dec 28, 2010 (3 months ago)

    Marlon Grech explains how you can specify that a certain binding should update the source on PropertyChanged in Silverlight 4.

    Source: C# Disciples

    In Silverlight 4 there is no way out of the box to specify that a certain binding should update the source on PropertyChanged, the options for the UpdateSourceTrigger are LostFocus and Explicit.

    These options are more or less what you really need for most scenarios, yet sometimes you want to have the ability to update the binding while a property is changing. A use case would be, you have a textbox and you want to apply some validations while the user is typing, maybe you enable a button if the text entered is correct or disable it if it is not correct.