2 writes to IsExpanded
PresentationFramework (2)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (2)
287treeViewItem.IsExpanded = true; 303treeViewItem.IsExpanded = false;
17 references to IsExpanded
Microsoft.VisualStudio.LanguageServices (1)
DocumentOutline\DocumentOutlineView.xaml.cs (1)
319if (item.IsExpanded && item.HasItems)
PresentationFramework (16)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (1)
312return treeViewItem.IsExpanded ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed;
System\Windows\Controls\TreeViewItem.cs (15)
64/// The DependencyProperty for the <see cref="IsExpanded"/> property. 206/// Event fired when <see cref="IsExpanded"/> becomes true. 211/// Event fired when <see cref="IsExpanded"/> becomes true. 228/// Called when <see cref="IsExpanded"/> becomes true. 238/// Event fired when <see cref="IsExpanded"/> becomes false. 243/// Event fired when <see cref="IsExpanded"/> becomes false. 260/// Called when <see cref="IsExpanded"/> becomes false. 561SetCurrentValueInternal(IsExpandedProperty, BooleanBoxes.Box(!IsExpanded)); 580if (CanExpandOnInput && !IsExpanded) 588if (CanExpandOnInput && IsExpanded) 599if (!IsControlKeyDown && CanExpandOnInput && IsExpanded) 616if (!IsExpanded) 763if (!parent.IsExpanded) 1016if (!item.IsExpanded) 1121if (IsExpanded)