2 writes to IsExpanded
PresentationFramework (2)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (2)
272treeViewItem.IsExpanded = true; 288treeViewItem.IsExpanded = false;
17 references to IsExpanded
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineView.xaml.cs (1)
324if (item.IsExpanded && item.HasItems)
PresentationFramework (16)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
297return treeViewItem.IsExpanded ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed;
System\Windows\Controls\TreeViewItem.cs (15)
60/// The DependencyProperty for the <see cref="IsExpanded"/> property. 196/// Event fired when <see cref="IsExpanded"/> becomes true. 201/// Event fired when <see cref="IsExpanded"/> becomes true. 218/// Called when <see cref="IsExpanded"/> becomes true. 228/// Event fired when <see cref="IsExpanded"/> becomes false. 233/// Event fired when <see cref="IsExpanded"/> becomes false. 250/// Called when <see cref="IsExpanded"/> becomes false. 551SetCurrentValueInternal(IsExpandedProperty, BooleanBoxes.Box(!IsExpanded)); 570if (CanExpandOnInput && !IsExpanded) 578if (CanExpandOnInput && IsExpanded) 589if (!IsControlKeyDown && CanExpandOnInput && IsExpanded) 606if (!IsExpanded) 748if (!parent.IsExpanded) 995if (!item.IsExpanded) 1100if (IsExpanded)