2 writes to IsExpanded
PresentationFramework (2)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (2)
271treeViewItem.IsExpanded = true; 287treeViewItem.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)
296return treeViewItem.IsExpanded ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed;
System\Windows\Controls\TreeViewItem.cs (15)
59/// The DependencyProperty for the <see cref="IsExpanded"/> property. 195/// Event fired when <see cref="IsExpanded"/> becomes true. 200/// Event fired when <see cref="IsExpanded"/> becomes true. 217/// Called when <see cref="IsExpanded"/> becomes true. 227/// Event fired when <see cref="IsExpanded"/> becomes false. 232/// Event fired when <see cref="IsExpanded"/> becomes false. 249/// Called when <see cref="IsExpanded"/> becomes false. 550SetCurrentValueInternal(IsExpandedProperty, BooleanBoxes.Box(!IsExpanded)); 569if (CanExpandOnInput && !IsExpanded) 577if (CanExpandOnInput && IsExpanded) 588if (!IsControlKeyDown && CanExpandOnInput && IsExpanded) 605if (!IsExpanded) 747if (!parent.IsExpanded) 994if (!item.IsExpanded) 1099if (IsExpanded)