45 references to ListenerExists
PresentationFramework (45)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
308
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) && numSelected == 1 && numAdded == 1)
318
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection))
331
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
src\Framework\System\Windows\Automation\Peers\DataGridAutomationPeer.cs (6)
332
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) &&
344
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection))
356
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
405
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) &&
417
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection))
429
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
src\Framework\System\Windows\Controls\Button.cs (1)
256
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
src\Framework\System\Windows\Controls\Calendar.cs (3)
1052
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) ||
1053
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) ||
1054
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
src\Framework\System\Windows\Controls\ComboBox.cs (4)
580
if ( AutomationPeer.
ListenerExists
(AutomationEvents.SelectionPatternOnInvalidated)
581
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected)
582
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)
583
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
src\Framework\System\Windows\Controls\DataGrid.cs (10)
2457
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
2484
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
3129
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
4314
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) ||
4315
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) ||
4316
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
4567
if (AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) ||
4568
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) ||
4569
AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
6888
if (AutomationPeer.
ListenerExists
(AutomationEvents.PropertyChanged))
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
846
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
src\Framework\System\Windows\Controls\ListBox.cs (4)
296
if ( AutomationPeer.
ListenerExists
(AutomationEvents.SelectionPatternOnInvalidated)
297
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected)
298
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)
299
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
src\Framework\System\Windows\Controls\MenuItem.cs (1)
1396
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
764
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (1)
312
if (AutomationPeer.
ListenerExists
(automationEvent))
src\Framework\System\Windows\Controls\Primitives\RepeatButton.cs (1)
208
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))
src\Framework\System\Windows\Controls\TabControl.cs (4)
381
if ( AutomationPeer.
ListenerExists
(AutomationEvents.SelectionPatternOnInvalidated)
382
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected)
383
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)
384
|| AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
src\Framework\System\Windows\Controls\ToolTip.cs (2)
190
if (AutomationPeer.
ListenerExists
(AutomationEvents.ToolTipClosed))
549
if (AutomationPeer.
ListenerExists
(AutomationEvents.ToolTipOpened))
src\Framework\System\Windows\Controls\TreeView.cs (2)
253
&& AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementSelected) )
261
&& AutomationPeer.
ListenerExists
(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
src\Framework\System\Windows\Documents\Hyperlink.cs (1)
720
if (AutomationPeer.
ListenerExists
(AutomationEvents.InvokePatternOnInvoked))