private void TextBlock_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { PropertyNodeItem current = (sender as TextBlock).DataContext as PropertyNodeItem; current.SetIsSelectAll(!current.IsSelected.Value); }
private void CheckBox_Click(object sender, RoutedEventArgs e) { PropertyNodeItem current = (sender as CheckBox).DataContext as PropertyNodeItem; current.SetIsSelectAll(current.IsSelected.Value); }