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