49 references to ListenerExists
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (1)
123
if (AutomationPeer.
ListenerExists
(AutomationEvents.AutomationFocusChanged))
PresentationFramework (45)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
294
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) && numSelected == 1 && numAdded == 1)
304
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection))
317
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (6)
328
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) &&
340
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection))
352
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
401
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) &&
413
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection))
425
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Controls\Button.cs (1)
250
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Calendar.cs (3)
1047
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) ||
1048
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) ||
1049
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Controls\ComboBox.cs (4)
569
if ( 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)
2449
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
2476
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
3121
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
4306
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) ||
4307
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) ||
4308
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
4559
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) ||
4560
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) ||
4561
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
6880
if (AutomationPeer.
ListenerExists
(AutomationEvents.PropertyChanged))
System\Windows\Controls\GridViewColumnHeader.cs (1)
809
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\ListBox.cs (4)
292
if ( 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)
1383
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
758
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Primitives\MenuBase.cs (1)
301
if (AutomationPeer.
ListenerExists
(automationEvent))
System\Windows\Controls\Primitives\RepeatButton.cs (1)
199
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\TabControl.cs (4)
370
if ( 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)
167
if (AutomationPeer.
ListenerExists
(AutomationEvents.ToolTipClosed))
543
if (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)
679
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
401
if (!IsCheckable && AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (2)
727
if ( AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected)
728
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))