Exemplo n.º 1
0
 public EditTestCaseControlExpander(Control page, ITestCase testCase)
 {
     InitializeComponent();
     Page     = (TestCaseViewer)page;
     TestCase = testCase;
     // set checkbox
     Boolean.TryParse(TestCase.GetOption("DefaultExpanded"), out bool expanded);
     DefExpanded.IsChecked = expanded;
     this.DataContext      = testCase;
 }