126 references to ExpandCollapseState
PresentationCore (2)
MS\Internal\Automation\ExpandCollapseProviderWrapper.cs (2)
68public ExpandCollapseState ExpandCollapseState 72return (ExpandCollapseState) ElementUtil.Invoke( _peer, new DispatcherOperationCallback( GetExpandCollapseState ), null );
PresentationFramework (44)
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (8)
117if(((IExpandCollapseProvider)this).ExpandCollapseState == ExpandCollapseState.Expanded) 215ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 220return owner.IsDropDownOpen ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed; 230oldValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed, 231newValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed);
System\Windows\Automation\Peers\DatePickerAutomationPeer.cs (3)
125ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 131return ExpandCollapseState.Expanded; 135return ExpandCollapseState.Collapsed;
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (7)
103ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 108return owner.IsExpanded ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed; 118oldValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed, 119newValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed);
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (1)
47if (iecp.ExpandCollapseState != ExpandCollapseState.Expanded)
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (10)
164if (ExpandCollapseState.Expanded == ((IExpandCollapseProvider)this).ExpandCollapseState) 227ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 231ExpandCollapseState result = ExpandCollapseState.Collapsed; 237result = ExpandCollapseState.LeafNode; 241result = ExpandCollapseState.Expanded; 301oldValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed, 302newValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed);
System\Windows\Automation\Peers\TreeViewDataItemAutomationPeer.cs (7)
138ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 150return ExpandCollapseState.LeafNode; 160oldValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed, 161newValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed); 293if (treeViewItemAutomationPeer != null && (treeViewItemAutomationPeer as IExpandCollapseProvider).ExpandCollapseState == ExpandCollapseState.Collapsed)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (8)
284ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 290return treeViewItem.IsExpanded ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed; 292return ExpandCollapseState.LeafNode; 307oldValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed, 308newValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed);
System.Windows.Controls.Ribbon (48)
Microsoft\Windows\Automation\Peers\RibbonAutomationPeer.cs (7)
273public ExpandCollapseState ExpandCollapseState 277return OwningRibbon.IsMinimized ? ExpandCollapseState.Collapsed : ExpandCollapseState.Expanded; 305oldValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed, 306newValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed);
Microsoft\Windows\Automation\Peers\RibbonGroupAutomationPeer.cs (4)
133oldValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed, 134newValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed);
Microsoft\Windows\Automation\Peers\RibbonGroupDataAutomationPeer.cs (4)
123ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 130return wrapperGroup.IsDropDownOpen ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed; 133return ExpandCollapseState.LeafNode;
Microsoft\Windows\Automation\Peers\RibbonMenuButtonAutomationPeer.cs (9)
192ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 196ExpandCollapseState result = ExpandCollapseState.Collapsed; 201result = ExpandCollapseState.LeafNode; 205result = ExpandCollapseState.Expanded; 267oldValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed, 268newValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed);
Microsoft\Windows\Automation\Peers\RibbonMenuItemAutomationPeer.cs (4)
102oldValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed, 103newValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed);
Microsoft\Windows\Automation\Peers\RibbonMenuItemDataAutomationPeer.cs (5)
194ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 204ExpandCollapseState result = ExpandCollapseState.Collapsed; 213result = ExpandCollapseState.LeafNode; 217result = ExpandCollapseState.Expanded;
Microsoft\Windows\Automation\Peers\RibbonQuickAccessToolBarAutomationPeer.cs (7)
88oldValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed, 89newValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed); 123public ExpandCollapseState ExpandCollapseState 127return OwningToolBar.HasOverflowItems && OwningToolBar.IsOverflowOpen ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed;
Microsoft\Windows\Automation\Peers\RibbonTabAutomationPeer.cs (4)
144oldValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed, 145newValue ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed);
Microsoft\Windows\Automation\Peers\RibbonTabDataAutomationPeer.cs (4)
107ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 120return ExpandCollapseState.Expanded; 124return ExpandCollapseState.Collapsed; 130return ExpandCollapseState.Expanded;
UIAutomationClient (5)
MS\Internal\Automation\Schema.cs (3)
136private static object ConvertToExpandCollapseState(object value) { return (ExpandCollapseState)value; } 352new AutomationPropertyInfo( convertToExpandCollapseState, ExpandCollapsePattern.ExpandCollapseStateProperty, typeof(ExpandCollapseState), ExpandCollapseState.LeafNode ),
System\Windows\Automation\ExpandCollapsePattern.cs (2)
210public ExpandCollapseState ExpandCollapseState 214return (ExpandCollapseState)_el.GetPatternPropertyValue(ExpandCollapseStateProperty, _useCache);
UIAutomationClientSideProviders (26)
MS\Internal\AutomationProxies\WindowsComboBox.cs (3)
460ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 464return (GetDroppedState (_hwnd)) ? ExpandCollapseState.Expanded : ExpandCollapseState.Collapsed;
MS\Internal\AutomationProxies\WindowsListBox.cs (2)
800if (((IExpandCollapseProvider)_listBox._parent).ExpandCollapseState == ExpandCollapseState.Collapsed) 850if (((IExpandCollapseProvider)_listBox._parent).ExpandCollapseState == ExpandCollapseState.Collapsed)
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (3)
441ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 445return IsCollapsed() ? ExpandCollapseState.Collapsed 446: ExpandCollapseState.Expanded;
MS\Internal\AutomationProxies\WindowsMenu.cs (3)
1769ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 1773return (IsSubmenuCollapsed()) ? ExpandCollapseState.Collapsed : ExpandCollapseState.Expanded;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (3)
505ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 511return ExpandCollapseState.Expanded; 514return ExpandCollapseState.Collapsed;
MS\Internal\AutomationProxies\WindowsTreeView.cs (12)
1084case ExpandCollapseState.LeafNode : 1087case ExpandCollapseState.Expanded : 1091case ExpandCollapseState.Collapsed : 1113case ExpandCollapseState.LeafNode : 1116case ExpandCollapseState.Expanded : 1121case ExpandCollapseState.Collapsed : 1128ExpandCollapseState IExpandCollapseProvider.ExpandCollapseState 1259StructureChangeType changeType = GetExpandCollapseState() == ExpandCollapseState.Expanded ? StructureChangeType.ChildrenBulkAdded : StructureChangeType.ChildrenBulkRemoved; 1364private ExpandCollapseState GetExpandCollapseState() 1370return ExpandCollapseState.Expanded; 1376return (hasChildren) ? ExpandCollapseState.Collapsed : ExpandCollapseState.LeafNode;
UIAutomationProvider (1)
System\Windows\Automation\Provider\IExpandCollapseProvider.cs (1)
47ExpandCollapseState ExpandCollapseState