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)
300
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) && numSelected == 1 && numAdded == 1)
310
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection))
323
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (6)
333
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) &&
345
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection))
357
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
406
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) &&
418
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection))
430
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Controls\Button.cs (1)
259
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Calendar.cs (3)
1051
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) ||
1052
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) ||
1053
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Controls\ComboBox.cs (4)
579
if ( AutomationPeer.
ListenerExists
(AutomationEvents.SelectionPatternOnInvalidated)
580
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected)
581
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)
582
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Controls\DataGrid.cs (10)
2452
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
2479
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
3124
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
4309
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) ||
4310
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) ||
4311
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
4562
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) ||
4563
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) ||
4564
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
6883
if (AutomationPeer.
ListenerExists
(AutomationEvents.PropertyChanged))
System\Windows\Controls\GridViewColumnHeader.cs (1)
813
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\ListBox.cs (4)
298
if ( AutomationPeer.
ListenerExists
(AutomationEvents.SelectionPatternOnInvalidated)
299
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected)
300
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)
301
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Controls\MenuItem.cs (1)
1393
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
763
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Primitives\MenuBase.cs (1)
310
if (AutomationPeer.
ListenerExists
(automationEvent))
System\Windows\Controls\Primitives\RepeatButton.cs (1)
208
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\TabControl.cs (4)
380
if ( AutomationPeer.
ListenerExists
(AutomationEvents.SelectionPatternOnInvalidated)
381
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected)
382
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)
383
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Controls\ToolTip.cs (2)
180
if (AutomationPeer.
ListenerExists
(AutomationEvents.ToolTipClosed))
556
if (AutomationPeer.
ListenerExists
(AutomationEvents.ToolTipOpened))
System\Windows\Controls\TreeView.cs (2)
252
&& AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) )
260
&& AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Documents\Hyperlink.cs (1)
685
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
403
if (!IsCheckable && AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (2)
729
if ( AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected)
730
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))