45 references to Expanded
PresentationFramework (18)
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (4)
117
if(((IExpandCollapseProvider)this).ExpandCollapseState == ExpandCollapseState.
Expanded
)
220
return owner.IsDropDownOpen ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed;
230
oldValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed,
231
newValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed);
System\Windows\Automation\Peers\DatePickerAutomationPeer.cs (1)
131
return ExpandCollapseState.
Expanded
;
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (3)
108
return owner.IsExpanded ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed;
118
oldValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed,
119
newValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed);
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (1)
47
if (iecp.ExpandCollapseState != ExpandCollapseState.
Expanded
)
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (4)
164
if (ExpandCollapseState.
Expanded
== ((IExpandCollapseProvider)this).ExpandCollapseState)
241
result = ExpandCollapseState.
Expanded
;
301
oldValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed,
302
newValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed);
System\Windows\Automation\Peers\TreeViewDataItemAutomationPeer.cs (2)
160
oldValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed,
161
newValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed);
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (3)
290
return treeViewItem.IsExpanded ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed;
307
oldValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed,
308
newValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed);
System.Windows.Controls.Ribbon (19)
Microsoft\Windows\Automation\Peers\RibbonAutomationPeer.cs (3)
277
return OwningRibbon.IsMinimized ? ExpandCollapseState.Collapsed : ExpandCollapseState.
Expanded
;
305
oldValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed,
306
newValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed);
Microsoft\Windows\Automation\Peers\RibbonGroupAutomationPeer.cs (2)
133
oldValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed,
134
newValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed);
Microsoft\Windows\Automation\Peers\RibbonGroupDataAutomationPeer.cs (1)
130
return wrapperGroup.IsDropDownOpen ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed;
Microsoft\Windows\Automation\Peers\RibbonMenuButtonAutomationPeer.cs (3)
205
result = ExpandCollapseState.
Expanded
;
267
oldValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed,
268
newValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed);
Microsoft\Windows\Automation\Peers\RibbonMenuItemAutomationPeer.cs (2)
102
oldValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed,
103
newValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed);
Microsoft\Windows\Automation\Peers\RibbonMenuItemDataAutomationPeer.cs (1)
217
result = ExpandCollapseState.
Expanded
;
Microsoft\Windows\Automation\Peers\RibbonQuickAccessToolBarAutomationPeer.cs (3)
88
oldValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed,
89
newValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed);
127
return OwningToolBar.HasOverflowItems && OwningToolBar.IsOverflowOpen ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed;
Microsoft\Windows\Automation\Peers\RibbonTabAutomationPeer.cs (2)
144
oldValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed,
145
newValue ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed);
Microsoft\Windows\Automation\Peers\RibbonTabDataAutomationPeer.cs (2)
120
return ExpandCollapseState.
Expanded
;
130
return ExpandCollapseState.
Expanded
;
UIAutomationClientSideProviders (8)
MS\Internal\AutomationProxies\WindowsComboBox.cs (1)
464
return (GetDroppedState (_hwnd)) ? ExpandCollapseState.
Expanded
: ExpandCollapseState.Collapsed;
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (1)
446
: ExpandCollapseState.
Expanded
;
MS\Internal\AutomationProxies\WindowsMenu.cs (1)
1773
return (IsSubmenuCollapsed()) ? ExpandCollapseState.Collapsed : ExpandCollapseState.
Expanded
;
MS\Internal\AutomationProxies\WindowsSysHeader.cs (1)
511
return ExpandCollapseState.
Expanded
;
MS\Internal\AutomationProxies\WindowsTreeView.cs (4)
1087
case ExpandCollapseState.
Expanded
:
1116
case ExpandCollapseState.
Expanded
:
1259
StructureChangeType changeType = GetExpandCollapseState() == ExpandCollapseState.
Expanded
? StructureChangeType.ChildrenBulkAdded : StructureChangeType.ChildrenBulkRemoved;
1370
return ExpandCollapseState.
Expanded
;