1 instantiation of ExpandCollapsePattern
UIAutomationClient (1)
System\Windows\Automation\ExpandCollapsePattern.cs (1)
170
return new
ExpandCollapsePattern
(el, hPattern, cached);
22 references to ExpandCollapsePattern
UIAutomationClient (4)
MS\Internal\Automation\Schema.cs (4)
337
new AutomationPropertyInfo( convertToExpandCollapseState,
ExpandCollapsePattern
.ExpandCollapseStateProperty, typeof(ExpandCollapseState), ExpandCollapseState.LeafNode ),
412
private static readonly AutomationProperty [ ] ExpandCollapseProperties = {
ExpandCollapsePattern
.ExpandCollapseStateProperty};
458
new AutomationPatternInfo(
ExpandCollapsePattern
.Pattern, ExpandCollapseProperties, new WrapObjectClientSide(
ExpandCollapsePattern
.Wrap) ),
UIAutomationClientsideProviders (18)
MS\Internal\AutomationProxies\EventManager.cs (3)
226
IExpandCollapseProvider expandCollapse = el.GetPatternProvider(
ExpandCollapsePattern
.Pattern) as IExpandCollapseProvider;
230
RaisePropertyChangedEvent(el,
ExpandCollapsePattern
.ExpandCollapseStateProperty, expandCollapse.ExpandCollapseState);
535
_objectIdClient.Add(
ExpandCollapsePattern
.ExpandCollapseStateProperty, new RaiseEvent(HandleExpandCollapseStateProperty));
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
389
else if (idProp ==
ExpandCollapsePattern
.ExpandCollapseStateProperty)
MS\Internal\AutomationProxies\WindowsComboBox.cs (3)
106
else if (iid ==
ExpandCollapsePattern
.Pattern && !IsSimpleCombo ())
179
else if (idProp ==
ExpandCollapsePattern
.ExpandCollapseStateProperty)
762
if (idProp is AutomationProperty && idProp ==
ExpandCollapsePattern
.ExpandCollapseStateProperty)
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
534
(automationProperty != null && automationProperty ==
ExpandCollapsePattern
.ExpandCollapseStateProperty))
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (1)
67
else if (iid ==
ExpandCollapsePattern
.Pattern && WindowsListView.IsGroupViewEnabled(_hwnd))
MS\Internal\AutomationProxies\WindowsMenu.cs (4)
1084
if (aidProps[i] ==
ExpandCollapsePattern
.ExpandCollapseStateProperty)
1131
new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupStart,
ExpandCollapsePattern
.ExpandCollapseStateProperty),
1132
new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupEnd,
ExpandCollapsePattern
.ExpandCollapseStateProperty),
1237
if (iid ==
ExpandCollapsePattern
.Pattern && _type == MenuItemType.SubMenu)
MS\Internal\AutomationProxies\WindowsSysHeader.cs (1)
410
else if (iid ==
ExpandCollapsePattern
.Pattern && IsSplitButton())
MS\Internal\AutomationProxies\WindowsTreeView.cs (4)
110
if (idProp ==
ExpandCollapsePattern
.ExpandCollapseStateProperty && el is TreeViewItem && eventId == NativeMethods.EventObjectStateChange)
352
else if (idProp ==
ExpandCollapsePattern
.ExpandCollapseStateProperty)
813
else if (iid ==
ExpandCollapsePattern
.Pattern)
1281
AutomationInteropProvider.RaiseAutomationPropertyChangedEvent(this, new AutomationPropertyChangedEventArgs(
ExpandCollapsePattern
.ExpandCollapseStateProperty, null, GetExpandCollapseState()));