Ejemplo 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;
        }
Ejemplo 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;
 }
Ejemplo 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();
 }
Ejemplo n.º 4
0
 public EditorSelectedItemUpdateEventArgs(EditorStepViewModel selectedStep)
 {
     _selectedStep = selectedStep;
 }
Ejemplo n.º 5
0
 protected void OnSelectedItemChanged(EditorStepViewModel testStep)
     => SelectedItemUpdated?.Invoke(this, new EditorSelectedItemUpdateEventArgs(testStep));