1using System.Globalization;
2using System.Windows.Data;
11[ValueConversion(typeof(
Person), typeof(
string))]
22 public object Convert(
object value, Type targetType,
object parameter, CultureInfo culture)
26 int competitionID = personVal.AvailableCompetitionsIDs[swimmingStyle];
41 public object ConvertBack(
object value, Type targetType,
object parameter, CultureInfo culture)
43 throw new NotImplementedException();
Converts the requested competition of a Person to a competition ID string representation.
object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Conversion method.
object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Back conversion method.
Class describing a person.
static string CompetitionMissingString
Sucht eine lokalisierte Zeichenfolge, die Competition is missing ähnelt.
SwimmingStyles
Available swimming styles.
@ Person
Filter by Person object.