예제 #1
0
        private void TextBlock_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            PropertyNodeItem current = (sender as TextBlock).DataContext as PropertyNodeItem;

            current.SetIsSelectAll(!current.IsSelected.Value);
        }
예제 #2
0
        private void CheckBox_Click(object sender, RoutedEventArgs e)
        {
            PropertyNodeItem current = (sender as CheckBox).DataContext as PropertyNodeItem;

            current.SetIsSelectAll(current.IsSelected.Value);
        }