48 references to ListenerExists
PresentationFramework (45)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
289if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) && numSelected == 1 && numAdded == 1) 296if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)) 306if (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)
1038if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) || 1039AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) || 1040AutomationPeer.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)
2434if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked)) 2458if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked)) 3094if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked)) 4273if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) || 4274AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) || 4275AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection)) 4523if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) || 4524AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) || 4525AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection)) 6832if (AutomationPeer.ListenerExists(AutomationEvents.PropertyChanged))
System\Windows\Controls\GridViewColumnHeader.cs (1)
793if (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))