49 references to ListenerExists
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (1)
123if (AutomationPeer.ListenerExists(AutomationEvents.AutomationFocusChanged))
PresentationFramework (45)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
294if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) && numSelected == 1 && numAdded == 1) 304if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)) 317if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (6)
328if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) && 340if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)) 352if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection)) 401if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) && 413if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)) 425if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Controls\Button.cs (1)
250if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Calendar.cs (3)
1047if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) || 1048AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) || 1049AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Controls\ComboBox.cs (4)
569if ( AutomationPeer.ListenerExists(AutomationEvents.SelectionPatternOnInvalidated) 570|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) 571|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) 572|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Controls\DataGrid.cs (10)
2449if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked)) 2476if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked)) 3121if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked)) 4306if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) || 4307AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) || 4308AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection)) 4559if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) || 4560AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) || 4561AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection)) 6880if (AutomationPeer.ListenerExists(AutomationEvents.PropertyChanged))
System\Windows\Controls\GridViewColumnHeader.cs (1)
809if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\ListBox.cs (4)
292if ( AutomationPeer.ListenerExists(AutomationEvents.SelectionPatternOnInvalidated) 293|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) 294|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) 295|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Controls\MenuItem.cs (1)
1383if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
758if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Primitives\MenuBase.cs (1)
301if (AutomationPeer.ListenerExists(automationEvent))
System\Windows\Controls\Primitives\RepeatButton.cs (1)
199if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\TabControl.cs (4)
370if ( AutomationPeer.ListenerExists(AutomationEvents.SelectionPatternOnInvalidated) 371|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) 372|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) 373|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Controls\ToolTip.cs (2)
167if (AutomationPeer.ListenerExists(AutomationEvents.ToolTipClosed)) 543if (AutomationPeer.ListenerExists(AutomationEvents.ToolTipOpened))
System\Windows\Controls\TreeView.cs (2)
247&& AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) ) 255&& AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Documents\Hyperlink.cs (1)
679if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
401if (!IsCheckable && AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (2)
727if ( AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) 728|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))