1 instantiation of ExpandCollapsePattern
UIAutomationClient (1)
System\Windows\Automation\ExpandCollapsePattern.cs (1)
149return new ExpandCollapsePattern(el, hPattern, cached);
22 references to ExpandCollapsePattern
UIAutomationClient (4)
MS\Internal\Automation\Schema.cs (4)
352new AutomationPropertyInfo( convertToExpandCollapseState, ExpandCollapsePattern.ExpandCollapseStateProperty, typeof(ExpandCollapseState), ExpandCollapseState.LeafNode ), 427private static readonly AutomationProperty [ ] ExpandCollapseProperties = { ExpandCollapsePattern.ExpandCollapseStateProperty}; 473new AutomationPatternInfo( ExpandCollapsePattern.Pattern, ExpandCollapseProperties, new WrapObjectClientSide(ExpandCollapsePattern.Wrap) ),
UIAutomationClientSideProviders (18)
MS\Internal\AutomationProxies\EventManager.cs (3)
212IExpandCollapseProvider expandCollapse = el.GetPatternProvider(ExpandCollapsePattern.Pattern) as IExpandCollapseProvider; 216RaisePropertyChangedEvent(el, ExpandCollapsePattern.ExpandCollapseStateProperty, expandCollapse.ExpandCollapseState); 521_objectIdClient.Add(ExpandCollapsePattern.ExpandCollapseStateProperty, new RaiseEvent(HandleExpandCollapseStateProperty));
MS\Internal\AutomationProxies\ProxyHwnd.cs (1)
366else if (idProp == ExpandCollapsePattern.ExpandCollapseStateProperty)
MS\Internal\AutomationProxies\WindowsComboBox.cs (3)
89else if (iid == ExpandCollapsePattern.Pattern && !IsSimpleCombo ()) 161else if (idProp == ExpandCollapsePattern.ExpandCollapseStateProperty) 740if (idProp is AutomationProperty && idProp == ExpandCollapsePattern.ExpandCollapseStateProperty)
MS\Internal\AutomationProxies\WindowsListBox.cs (1)
515(automationProperty != null && automationProperty == ExpandCollapsePattern.ExpandCollapseStateProperty))
MS\Internal\AutomationProxies\WindowsListViewGroup.cs (1)
57else if (iid == ExpandCollapsePattern.Pattern && WindowsListView.IsGroupViewEnabled(_hwnd))
MS\Internal\AutomationProxies\WindowsMenu.cs (4)
1065if (aidProps[i] == ExpandCollapsePattern.ExpandCollapseStateProperty) 1112new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupStart, ExpandCollapsePattern.ExpandCollapseStateProperty), 1113new WinEventTracker.EvtIdProperty(NativeMethods.EventSystemMenuPopupEnd, ExpandCollapsePattern.ExpandCollapseStateProperty), 1218if (iid == ExpandCollapsePattern.Pattern && _type == MenuItemType.SubMenu)
MS\Internal\AutomationProxies\WindowsSysHeader.cs (1)
394else if (iid == ExpandCollapsePattern.Pattern && IsSplitButton())
MS\Internal\AutomationProxies\WindowsTreeView.cs (4)
98if (idProp == ExpandCollapsePattern.ExpandCollapseStateProperty && el is TreeViewItem && eventId == NativeMethods.EventObjectStateChange) 337else if (idProp == ExpandCollapsePattern.ExpandCollapseStateProperty) 797else if (iid == ExpandCollapsePattern.Pattern) 1265AutomationInteropProvider.RaiseAutomationPropertyChangedEvent(this, new AutomationPropertyChangedEventArgs(ExpandCollapsePattern.ExpandCollapseStateProperty, null, GetExpandCollapseState()));