Created
November 2, 2014 20:13
-
-
Save yaakovgamliel/2867835d07ca65ee3eb9 to your computer and use it in GitHub Desktop.
Aque se te parace??
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ScenarioBindingConverter : IValueConverter | |
{ | |
public object Convert(object value, Type targetType, object parameter, string language) | |
{ | |
Scenario s = value as Scenario; | |
return (MainPage.Current.Scenarios.IndexOf(s) + 1) + ") " + s.Title; | |
} | |
public object ConvertBack(object value, Type targetType, object parameter, string language) | |
{ | |
return true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment