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)
293if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) && numSelected == 1 && numAdded == 1) 300if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)) 310if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (6)
328if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) && 337if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)) 346if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection)) 386if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) && 395if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection)) 404if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Controls\Button.cs (1)
250if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Calendar.cs (3)
1045if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) || 1046AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) || 1047AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))
System\Windows\Controls\ComboBox.cs (4)
563if ( AutomationPeer.ListenerExists(AutomationEvents.SelectionPatternOnInvalidated) 564|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) 565|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) 566|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Controls\DataGrid.cs (10)
2441if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked)) 2465if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked)) 3101if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked)) 4280if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) || 4281AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) || 4282AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection)) 4530if (AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) || 4531AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) || 4532AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection)) 6839if (AutomationPeer.ListenerExists(AutomationEvents.PropertyChanged))
System\Windows\Controls\GridViewColumnHeader.cs (1)
800if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\ListBox.cs (4)
292if ( 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)
1380if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (1)
746if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\Primitives\MenuBase.cs (1)
301if (AutomationPeer.ListenerExists(automationEvent))
System\Windows\Controls\Primitives\RepeatButton.cs (1)
196if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System\Windows\Controls\TabControl.cs (4)
363if ( AutomationPeer.ListenerExists(AutomationEvents.SelectionPatternOnInvalidated) 364|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) 365|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementAddedToSelection) 366|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Controls\ToolTip.cs (2)
167if (AutomationPeer.ListenerExists(AutomationEvents.ToolTipClosed)) 540if (AutomationPeer.ListenerExists(AutomationEvents.ToolTipOpened))
System\Windows\Controls\TreeView.cs (2)
247&& AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) ) 254&& AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection) )
System\Windows\Documents\Hyperlink.cs (1)
681if (AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (1)
398if (!IsCheckable && AutomationPeer.ListenerExists(AutomationEvents.InvokePatternOnInvoked))
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (2)
709if ( AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementSelected) 710|| AutomationPeer.ListenerExists(AutomationEvents.SelectionItemPatternOnElementRemovedFromSelection))