Exemple #1
0
 protected override string Convert(DurationFormat value, Type targetType, object parameter, CultureInfo culture)
 => DurationFormatToString.Convert(value);
Exemple #2
0
 protected override void UpdateView()
 {
     DurationFormatLabel.Text = DurationFormatToString.Convert(Item.DurationFormat);
     SelectedImageView.Hidden = !Item.Selected;
 }
 protected override void UpdateView()
 {
     durationFormatTextView.Text = DurationFormatToString.Convert(Item.DurationFormat);
     selectedButton.Checked      = Item.Selected;
 }