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