{ 
#region IValueConverter Members 
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 
{ 
Customer cusObj = value as Customer; 
Image img = new Image(); 
switch (cusObj.CustomerMood) 
{ 
case Mood.Normal: 
img.Source = new System.Windows.Media.Imaging.BitmapImage(new Uri("Normal.png", UriKind.Relative)); 
return img; 
case Mood.Satisfied: 
img.Source = new System.Windows.Media.Imaging.BitmapImage(new Uri("Satisfied.png", UriKind.Relative)); 
return img; 
case Mood.UnSatisfied: 
img.Source = new System.Windows.Media.Imaging.BitmapImage(new Uri("UnSatisfied.png", UriKind.Relative)); 
return img; 
case Mood.UA: 
HyperlinkButton btn = new HyperlinkButton(); 
btn.Content = "Invite Suggestion"; 
return btn; 
default : 
TextBlock tbU = new TextBlock(); 
tbU.Text = "-"; 
return tbU; 
} 
} 
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) 
{ 
throw new NotImplementedException(); 
} 
#endregion 
}