Exemplo n.º 1
0
        public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
        {
            EditorStepViewModel step = value as EditorStepViewModel;
            string label = step.StepID + ".";

            return label;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Event listener for test step changed
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public void StepSelectedChanged(object sender, EditorSelectedItemUpdateEventArgs e)
 {
     this.SelectedStep = e.SelectedStep;
 }
Exemplo n.º 3
0
 public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
 {
     EditorStepViewModel testStep = value as EditorStepViewModel;
     return "Section: " + testStep.Parent.SectionID.ToString() + ", Step: " + testStep.StepID.ToString();
 }
Exemplo n.º 4
0
 public EditorSelectedItemUpdateEventArgs(EditorStepViewModel selectedStep)
 {
     _selectedStep = selectedStep;
 }
Exemplo n.º 5
0
 protected void OnSelectedItemChanged(EditorStepViewModel testStep)
     => SelectedItemUpdated?.Invoke(this, new EditorSelectedItemUpdateEventArgs(testStep));