23 references to SelectedItem
Microsoft.VisualStudio.LanguageServices (10)
PullMemberUp\MainDialog\PullMemberUpDialog.xaml.cs (1)
73if (DestinationTreeView.SelectedItem is BaseTypeTreeNodeViewModel memberGraphNode)
ValueTracking\ValueTrackingTree.xaml.cs (9)
30Key.Enter => TrySelectItem(ValueTrackingTreeView.SelectedItem as TreeViewItemBase, navigate: true), 31Key.Right => TrySetExpanded(ValueTrackingTreeView.SelectedItem as TreeViewItemBase, true), 32Key.Left => TrySetExpanded(ValueTrackingTreeView.SelectedItem as TreeViewItemBase, false), 33Key.Space => TryToggleExpanded(ValueTrackingTreeView.SelectedItem as TreeViewItemBase), 98if (ValueTrackingTreeView.SelectedItem is null) 103var item = (TreeViewItemBase)ValueTrackingTreeView.SelectedItem; 115if (ValueTrackingTreeView.SelectedItem is null) 120var item = (TreeViewItemBase)ValueTrackingTreeView.SelectedItem; 126_viewModel.SelectedItem = ValueTrackingTreeView.SelectedItem as TreeViewItemBase;
PresentationFramework (13)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
338if (treeView == null || (treeView.SelectedItem != null && treeView.SelectedContainer != Owner))
System\Windows\Controls\TreeView.cs (11)
58/// The DependencyProperty for the <see cref="SelectedItem"/> property. 77if (SelectedItem != data) 126/// Specifies the path to query on <see cref="SelectedItem" /> to calculate <see cref="SelectedValue" />. 139tree.UpdateSelectedValue(tree.SelectedItem); 147/// Event fired when <see cref="SelectedItem"/> changes. 152/// Event fired when <see cref="SelectedItem"/> changes. 169/// Called when <see cref="SelectedItem"/> changes. 205oldValue = SelectedItem; 417if ((SelectedItem != null) && !IsSelectedContainerHookedUp) 427object selectedItem = SelectedItem; 451item = SelectedItem;
System\Windows\Controls\TreeViewItem.cs (1)
983object selectedItem = tree.SelectedItem;