48 references to ListenerExists
PresentationFramework (45)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
292if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) && numSelected == 1 && numAdded == 1) 299if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)) 309if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (6)
327if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) && 336if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)) 345if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection)) 385if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) && 394if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)) 403if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Controls\Button.cs (1)
249if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Calendar.cs (3)
1044if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) || 1045AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) || 1046AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Controls\ComboBox.cs (4)
562if ( AutomationPeer.ListenerExists(AutomationEvents.SelectionPatternOnInvalidated) 563|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) 564|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) 565|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Controls\DataGrid.cs (10)
2440if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked)) 2464if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked)) 3100if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked)) 4279if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) || 4280AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) || 4281AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection)) 4529if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) || 4530AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) || 4531AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection)) 6838if (AutomationPeer.ListenerExists(AutomationEvents.PropertyChanged))
System\Windows\Controls\GridViewColumnHeader.cs (1)
799if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\ListBox.cs (4)
291if ( AutomationPeer.ListenerExists(AutomationEvents.SelectionPatternOnInvalidated) 292|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) 293|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) 294|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Controls\MenuItem.cs (1)
1379if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
745if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Primitives\MenuBase.cs (1)
300if (AutomationPeer.ListenerExists(automationEvent))
System\Windows\Controls\Primitives\RepeatButton.cs (1)
195if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\TabControl.cs (4)
362if ( AutomationPeer.ListenerExists(AutomationEvents.SelectionPatternOnInvalidated) 363|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) 364|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) 365|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Controls\ToolTip.cs (2)
166if (AutomationPeer.ListenerExists(AutomationEvents.ToolTipClosed)) 539if (AutomationPeer.ListenerExists(AutomationEvents.ToolTipOpened))
System\Windows\Controls\TreeView.cs (2)
246&& AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) ) 253&& AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Documents\Hyperlink.cs (1)
680if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
397if (!IsCheckable && AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (2)
708if ( AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) 709|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))