public ConditionalCheckBox() { this.InitializeComponent(); this.viewModel = this.treeGrid.DataContext as EmployeeDetailsRepository; this.treeGrid.Loaded += TreeGrid_Loaded; this.treeGrid.Unloaded += TreeGrid_Unloaded; }
public OnDemandLoading() { this.InitializeComponent(); this.viewModel = this.treeGrid.DataContext as EmployeeDetailsRepository; this.treeGrid.Loaded += TreeGrid_Loaded; this.treeGrid.Unloaded += TreeGrid_Unloaded; }