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