2 writes to IsExpanded
PresentationFramework (2)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (2)
275treeViewItem.IsExpanded = true; 291treeViewItem.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)
300return treeViewItem.IsExpanded ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed;
System\Windows\Controls\TreeViewItem.cs (15)
60/// The DependencyProperty for the <see cref="IsExpanded"/> property. 202/// Event fired when <see cref="IsExpanded"/> becomes true. 207/// Event fired when <see cref="IsExpanded"/> becomes true. 224/// Called when <see cref="IsExpanded"/> becomes true. 234/// Event fired when <see cref="IsExpanded"/> becomes false. 239/// Event fired when <see cref="IsExpanded"/> becomes false. 256/// Called when <see cref="IsExpanded"/> becomes false. 557SetCurrentValueInternal(IsExpandedProperty, BooleanBoxes.Box(!IsExpanded)); 576if (CanExpandOnInput && !IsExpanded) 584if (CanExpandOnInput && IsExpanded) 595if (!IsControlKeyDown && CanExpandOnInput && IsExpanded) 612if (!IsExpanded) 759if (!parent.IsExpanded) 1012if (!item.IsExpanded) 1117if (IsExpanded)