(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .
        Login with Facebook

Windows Phone Convert Enum to Themed Image

(0 votes)
0 comments   /   posted by Silverlight Show on Apr 27, 2012
Tags:   mvvm , windows-phone , daniel-bruske

Read original post at Daniel Bruske's DevLog

It often happens that i have to show some visual feedback based on enum values of the ViewModel (MVVM). One usual approach is to use icons (ex. state of a network connection: checking, connected, broken).
I like to keep ViewModel as free as possibile from View specific functionality so i created to IValueConverter for this purpose.


Comments

No comments

Add Comment

Login to comment:
  *      *       
Login with Facebook

Our News on Twitter