219 references to PatternInterface
Microsoft.VisualStudio.LanguageServices (1)
Utilities\AutomationDelegatingListView.cs (1)
155public override object? GetPattern(PatternInterface patternInterface)
PresentationCore (31)
MS\Internal\Interop\TipTsfHelper.cs (1)
181return peer?.GetPattern(PatternInterface.Text) != null;
System\Windows\Automation\Peers\AutomationPeer.cs (24)
269abstract public object GetPattern(PatternInterface patternInterface); 2368s_patternInfo[InvokePatternIdentifiers.Pattern.Id] = new PatternInfo(InvokePatternIdentifiers.Pattern.Id, new WrapObject(InvokeProviderWrapper.Wrap), PatternInterface.Invoke); 2369s_patternInfo[SelectionPatternIdentifiers.Pattern.Id] = new PatternInfo(SelectionPatternIdentifiers.Pattern.Id, new WrapObject(SelectionProviderWrapper.Wrap), PatternInterface.Selection); 2370s_patternInfo[ValuePatternIdentifiers.Pattern.Id] = new PatternInfo(ValuePatternIdentifiers.Pattern.Id, new WrapObject(ValueProviderWrapper.Wrap), PatternInterface.Value); 2371s_patternInfo[RangeValuePatternIdentifiers.Pattern.Id] = new PatternInfo(RangeValuePatternIdentifiers.Pattern.Id, new WrapObject(RangeValueProviderWrapper.Wrap), PatternInterface.RangeValue); 2372s_patternInfo[ScrollPatternIdentifiers.Pattern.Id] = new PatternInfo(ScrollPatternIdentifiers.Pattern.Id, new WrapObject(ScrollProviderWrapper.Wrap), PatternInterface.Scroll); 2373s_patternInfo[ScrollItemPatternIdentifiers.Pattern.Id] = new PatternInfo(ScrollItemPatternIdentifiers.Pattern.Id, new WrapObject(ScrollItemProviderWrapper.Wrap), PatternInterface.ScrollItem); 2374s_patternInfo[ExpandCollapsePatternIdentifiers.Pattern.Id] = new PatternInfo(ExpandCollapsePatternIdentifiers.Pattern.Id, new WrapObject(ExpandCollapseProviderWrapper.Wrap), PatternInterface.ExpandCollapse); 2375s_patternInfo[GridPatternIdentifiers.Pattern.Id] = new PatternInfo(GridPatternIdentifiers.Pattern.Id, new WrapObject(GridProviderWrapper.Wrap), PatternInterface.Grid); 2376s_patternInfo[GridItemPatternIdentifiers.Pattern.Id] = new PatternInfo(GridItemPatternIdentifiers.Pattern.Id, new WrapObject(GridItemProviderWrapper.Wrap), PatternInterface.GridItem); 2377s_patternInfo[MultipleViewPatternIdentifiers.Pattern.Id] = new PatternInfo(MultipleViewPatternIdentifiers.Pattern.Id, new WrapObject(MultipleViewProviderWrapper.Wrap), PatternInterface.MultipleView); 2378s_patternInfo[WindowPatternIdentifiers.Pattern.Id] = new PatternInfo(WindowPatternIdentifiers.Pattern.Id, new WrapObject(WindowProviderWrapper.Wrap), PatternInterface.Window); 2379s_patternInfo[SelectionItemPatternIdentifiers.Pattern.Id] = new PatternInfo(SelectionItemPatternIdentifiers.Pattern.Id, new WrapObject(SelectionItemProviderWrapper.Wrap), PatternInterface.SelectionItem); 2380s_patternInfo[DockPatternIdentifiers.Pattern.Id] = new PatternInfo(DockPatternIdentifiers.Pattern.Id, new WrapObject(DockProviderWrapper.Wrap), PatternInterface.Dock); 2381s_patternInfo[TablePatternIdentifiers.Pattern.Id] = new PatternInfo(TablePatternIdentifiers.Pattern.Id, new WrapObject(TableProviderWrapper.Wrap), PatternInterface.Table); 2382s_patternInfo[TableItemPatternIdentifiers.Pattern.Id] = new PatternInfo(TableItemPatternIdentifiers.Pattern.Id, new WrapObject(TableItemProviderWrapper.Wrap), PatternInterface.TableItem); 2383s_patternInfo[TogglePatternIdentifiers.Pattern.Id] = new PatternInfo(TogglePatternIdentifiers.Pattern.Id, new WrapObject(ToggleProviderWrapper.Wrap), PatternInterface.Toggle); 2384s_patternInfo[TransformPatternIdentifiers.Pattern.Id] = new PatternInfo(TransformPatternIdentifiers.Pattern.Id, new WrapObject(TransformProviderWrapper.Wrap), PatternInterface.Transform); 2385s_patternInfo[TextPatternIdentifiers.Pattern.Id] = new PatternInfo(TextPatternIdentifiers.Pattern.Id, new WrapObject(TextProviderWrapper.Wrap), PatternInterface.Text); 2390s_patternInfo[VirtualizedItemPatternIdentifiers.Pattern.Id] = new PatternInfo(VirtualizedItemPatternIdentifiers.Pattern.Id, new WrapObject(VirtualizedItemProviderWrapper.Wrap), PatternInterface.VirtualizedItem); 2392s_patternInfo[ItemContainerPatternIdentifiers.Pattern.Id] = new PatternInfo(ItemContainerPatternIdentifiers.Pattern.Id, new WrapObject(ItemContainerProviderWrapper.Wrap), PatternInterface.ItemContainer); 2395s_patternInfo[SynchronizedInputPatternIdentifiers.Pattern.Id] = new PatternInfo(SynchronizedInputPatternIdentifiers.Pattern.Id, new WrapObject(SynchronizedInputProviderWrapper.Wrap), PatternInterface.SynchronizedInput); 2457internal PatternInfo(int id, WrapObject wrapObject, PatternInterface patternInterface) 2466internal PatternInterface PatternInterface;
System\Windows\Automation\Peers\ContentElementAutomationPeer.cs (2)
69override public object GetPattern(PatternInterface patternInterface) 72if (patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (2)
115override public object GetPattern(PatternInterface patternInterface) 118if (patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
133override public object GetPattern(PatternInterface patternInterface) 136if (patternInterface == PatternInterface.SynchronizedInput)
PresentationFramework (141)
System\Windows\Automation\Peers\ButtonAutomationPeer.cs (2)
31override public object GetPattern(PatternInterface patternInterface) 33if (patternInterface == PatternInterface.Invoke)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (6)
66public override object GetPattern(PatternInterface patternInterface) 70case PatternInterface.Grid: 71case PatternInterface.Table: 72case PatternInterface.MultipleView: 73case PatternInterface.Selection: 74case PatternInterface.ItemContainer:
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (4)
39override public object GetPattern(PatternInterface pattern) 44if (pattern == PatternInterface.Value) 48else if(pattern == PatternInterface.ExpandCollapse) 52else if (pattern == PatternInterface.Scroll && !owner.IsDropDownOpen)
System\Windows\Automation\Peers\ContentTextAutomationPeer.cs (1)
54TextAdaptor textAdaptor = GetPattern(PatternInterface.Text) as TextAdaptor;
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (5)
80public override object GetPattern(PatternInterface patternInterface) 84case PatternInterface.Grid: 85case PatternInterface.Selection: 86case PatternInterface.Table: 88case PatternInterface.Scroll:
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (8)
247public override object GetPattern(PatternInterface patternInterface) 251case PatternInterface.Invoke: 257case PatternInterface.Value: 265case PatternInterface.SelectionItem: 272case PatternInterface.ScrollItem: 273case PatternInterface.GridItem: 274case PatternInterface.TableItem: 276case PatternInterface.VirtualizedItem:
System\Windows\Automation\Peers\DataGridColumnHeaderItemAutomationPeer.cs (5)
58public override object GetPattern(PatternInterface patternInterface) 62case PatternInterface.Invoke: 72case PatternInterface.ScrollItem: 81case PatternInterface.Transform: 90case PatternInterface.VirtualizedItem:
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (6)
78public override object GetPattern(PatternInterface patternInterface) 82case PatternInterface.Invoke: 89case PatternInterface.ScrollItem: 90case PatternInterface.Selection: 91case PatternInterface.ItemContainer: 93case PatternInterface.SelectionItem:
System\Windows\Automation\Peers\DatePickerAutomationPeer.cs (3)
44public override object GetPattern(PatternInterface patternInterface) 46if (patternInterface == PatternInterface.ExpandCollapse || patternInterface == PatternInterface.Value)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (6)
350public override object GetPattern(PatternInterface patternInterface) 357case PatternInterface.Invoke: 358case PatternInterface.GridItem: 366case PatternInterface.TableItem: 374case PatternInterface.SelectionItem: 379case PatternInterface.VirtualizedItem:
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (2)
72public override object GetPattern(PatternInterface patternInterface) 76if (patternInterface == PatternInterface.Text)
System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (2)
34override public object GetPattern(PatternInterface patternInterface) 40if (patternInterface == PatternInterface.Scroll)
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (2)
30public override object GetPattern(PatternInterface patternInterface) 34if (patternInterface == PatternInterface.Text)
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (2)
59override public object GetPattern(PatternInterface pattern) 63if(pattern == PatternInterface.ExpandCollapse)
System\Windows\Automation\Peers\FlowDocumentReaderAutomationPeer.cs (2)
32public override object GetPattern(PatternInterface patternInterface) 35if (patternInterface == PatternInterface.MultipleView)
System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (4)
34public override object GetPattern(PatternInterface patternInterface) 38if (patternInterface == PatternInterface.Scroll) 51else if (patternInterface == PatternInterface.Text) 63else if (patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\GridSplitterAutomationPeer.cs (2)
24override public object GetPattern(PatternInterface patternInterface) 26if (patternInterface == PatternInterface.Transform)
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (3)
50object IViewAutomationPeer.GetPattern(PatternInterface patternInterface) 55case PatternInterface.Grid: 56case PatternInterface.Table:
System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (3)
52override public object GetPattern(PatternInterface patternInterface) 54if (patternInterface == PatternInterface.GridItem || patternInterface == PatternInterface.TableItem)
System\Windows\Automation\Peers\GridViewColumnHeaderAutomationPeer.cs (3)
39override public object GetPattern(PatternInterface patternInterface) 41if (patternInterface == PatternInterface.Invoke || patternInterface == PatternInterface.Transform)
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
92override public object GetPattern(PatternInterface patternInterface) 94if(patternInterface == PatternInterface.ExpandCollapse)
System\Windows\Automation\Peers\HyperlinkAutomationPeer.cs (2)
27public override object GetPattern(PatternInterface patternInterface) 29if (patternInterface == PatternInterface.Invoke)
System\Windows\Automation\Peers\ItemAutomationPeer.cs (3)
47override public object GetPattern(PatternInterface patternInterface) 49if (patternInterface == PatternInterface.VirtualizedItem) 70else if(patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (3)
24override public object GetPattern(PatternInterface patternInterface) 26if(patternInterface == PatternInterface.Scroll) 39else if (patternInterface == PatternInterface.ItemContainer)
System\Windows\Automation\Peers\IViewAutomationPeer.cs (1)
30object GetPattern(PatternInterface patternInterface);
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (2)
32override public object GetPattern(PatternInterface patternInterface) 34if (patternInterface == PatternInterface.ScrollItem)
System\Windows\Automation\Peers\ListViewAutomationPeer.cs (1)
41override public object GetPattern(PatternInterface patternInterface)
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (5)
31override public object GetPattern(PatternInterface patternInterface) 36if (patternInterface == PatternInterface.ExpandCollapse) 45else if (patternInterface == PatternInterface.Toggle) 52else if (patternInterface == PatternInterface.Invoke) 61else if (patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\PasswordBoxAutomationPeer.cs (4)
51override public object GetPattern(PatternInterface patternInterface) 55if (patternInterface == PatternInterface.Value) 59else if (patternInterface == PatternInterface.Text) 68else if (patternInterface == PatternInterface.Scroll)
System\Windows\Automation\Peers\ProgressBarAutomationPeer.cs (2)
31override public object GetPattern(PatternInterface patternInterface) 34if (patternInterface == PatternInterface.RangeValue && ((ProgressBar)Owner).IsIndeterminate)
System\Windows\Automation\Peers\RadioButtonAutomationPeer.cs (3)
30override public object GetPattern(PatternInterface patternInterface) 32if (patternInterface == PatternInterface.SelectionItem) 36else if(patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\RangeBaseAutomationPeer.cs (2)
19override public object GetPattern(PatternInterface patternInterface) 21if (patternInterface == PatternInterface.RangeValue)
System\Windows\Automation\Peers\RepeatButtonAutomationPeer.cs (2)
30override public object GetPattern(PatternInterface patternInterface) 32if (patternInterface == PatternInterface.Invoke)
System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (3)
35override public object GetPattern(PatternInterface patternInterface) 40if (patternInterface == PatternInterface.Text) 50if (patternInterface == PatternInterface.Scroll)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (2)
49override public object GetPattern(PatternInterface patternInterface) 51if (patternInterface == PatternInterface.Scroll)
System\Windows\Automation\Peers\SelectorAutomationPeer.cs (3)
25override public object GetPattern(PatternInterface patternInterface) 27if(patternInterface == PatternInterface.Selection) 66ISelectionItemProvider selectionItem = itemPeer.GetPattern(PatternInterface.SelectionItem) as ISelectionItemProvider;
System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (2)
20override public object GetPattern(PatternInterface patternInterface) 22if(patternInterface == PatternInterface.SelectionItem)
System\Windows\Automation\Peers\TableAutomationPeer.cs (2)
32public override object GetPattern(PatternInterface patternInterface) 34if (patternInterface == PatternInterface.Grid)
System\Windows\Automation\Peers\TableCellAutomationPeer.cs (2)
28public override object GetPattern(PatternInterface patternInterface) 30if (patternInterface == PatternInterface.GridItem)
System\Windows\Automation\Peers\TextAutomationPeer.cs (1)
53TextAdaptor textAdaptor = GetPattern(PatternInterface.Text) as TextAdaptor;
System\Windows\Automation\Peers\TextBoxAutomationPeer.cs (5)
35override public object GetPattern(PatternInterface patternInterface) 39if(patternInterface == PatternInterface.Value) 42if (patternInterface == PatternInterface.Text) 50if (patternInterface == PatternInterface.Scroll) 60if (patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\ToggleButtonAutomationPeer.cs (2)
30override public object GetPattern(PatternInterface patternInterface) 32if (patternInterface == PatternInterface.Toggle)
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (4)
30override public object GetPattern(PatternInterface patternInterface) 32if (patternInterface == PatternInterface.Selection) 36else if(patternInterface == PatternInterface.Scroll) 131ISelectionItemProvider selectionItem = itemPeer.GetPattern(PatternInterface.SelectionItem) as ISelectionItemProvider;
System\Windows\Automation\Peers\TreeViewDataItemAutomationPeer.cs (7)
30override public object GetPattern(PatternInterface patternInterface) 32if (patternInterface == PatternInterface.ExpandCollapse) 36else if (patternInterface == PatternInterface.SelectionItem) 40else if (patternInterface == PatternInterface.ScrollItem) 44else if ((patternInterface == PatternInterface.ItemContainer) || (patternInterface == PatternInterface.SynchronizedInput)) 49if(patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (5)
32override public object GetPattern(PatternInterface patternInterface) 34if (patternInterface == PatternInterface.ExpandCollapse) 38else if (patternInterface == PatternInterface.SelectionItem) 42else if (patternInterface == PatternInterface.ScrollItem) 212ISelectionItemProvider selectionItem = itemPeer.GetPattern(PatternInterface.SelectionItem) as ISelectionItemProvider;
PresentationUI (4)
MS\Internal\Documents\Application\PageTextBox.cs (2)
385override public object GetPattern(PatternInterface patternInterface) 387if (patternInterface == PatternInterface.Value)
MS\Internal\Documents\Application\ZoomComboBox.cs (2)
538override public object GetPattern(PatternInterface patternInterface) 540if (patternInterface == PatternInterface.Value)
System.Windows.Controls.Ribbon (42)
Microsoft\Windows\Automation\Peers\RibbonAutomationPeer.cs (3)
48public override object GetPattern(PatternInterface patternInterface) 55if (patternInterface == PatternInterface.ExpandCollapse) 61if (patternInterface == PatternInterface.Scroll)
Microsoft\Windows\Automation\Peers\RibbonComboBoxAutomationPeer.cs (2)
45public override object GetPattern(PatternInterface patternInterface) 47if (patternInterface == PatternInterface.Value)
Microsoft\Windows\Automation\Peers\RibbonContextualTabGroupDataAutomationPeer.cs (2)
74public override object GetPattern(PatternInterface patternInterface) 76if (patternInterface == PatternInterface.Invoke)
Microsoft\Windows\Automation\Peers\RibbonContextualTabGroupItemsControlAutomationPeer.cs (2)
40public override object GetPattern(PatternInterface patternInterface) 43if (patternInterface == PatternInterface.Scroll)
Microsoft\Windows\Automation\Peers\RibbonControlDataAutomationPeer.cs (1)
45public override object GetPattern(PatternInterface patternInterface)
Microsoft\Windows\Automation\Peers\RibbonGalleryAutomationPeer.cs (2)
40override public object GetPattern(PatternInterface patternInterface) 42if (patternInterface == PatternInterface.Selection)
Microsoft\Windows\Automation\Peers\RibbonGalleryCategoryAutomationPeer.cs (1)
52public override object GetPattern(PatternInterface patternInterface)
Microsoft\Windows\Automation\Peers\RibbonGalleryCategoryDataAutomationPeer.cs (2)
54override public object GetPattern(PatternInterface patternInterface) 56if (patternInterface == PatternInterface.ScrollItem)
Microsoft\Windows\Automation\Peers\RibbonGalleryItemDataAutomationPeer.cs (3)
56override public object GetPattern(PatternInterface patternInterface) 58if (patternInterface == PatternInterface.ScrollItem || patternInterface == PatternInterface.SelectionItem)
Microsoft\Windows\Automation\Peers\RibbonGroupAutomationPeer.cs (2)
68public override object GetPattern(PatternInterface patternInterface) 71if (patternInterface == PatternInterface.Scroll)
Microsoft\Windows\Automation\Peers\RibbonGroupDataAutomationPeer.cs (3)
38public override object GetPattern(PatternInterface patternInterface) 43if (patternInterface == PatternInterface.ScrollItem) 47else if (patternInterface == PatternInterface.ExpandCollapse)
Microsoft\Windows\Automation\Peers\RibbonMenuButtonAutomationPeer.cs (3)
146public override object GetPattern(PatternInterface patternInterface) 149if (patternInterface == PatternInterface.ExpandCollapse && OwningMenuButton.HasItems) 153else if (patternInterface == PatternInterface.Transform)
Microsoft\Windows\Automation\Peers\RibbonMenuItemDataAutomationPeer.cs (5)
67public override object GetPattern(PatternInterface patternInterface) 85if (patternInterface == PatternInterface.ExpandCollapse) 93else if (patternInterface == PatternInterface.Toggle) 100else if (patternInterface == PatternInterface.Invoke) 108else if (patternInterface == PatternInterface.Transform)
Microsoft\Windows\Automation\Peers\RibbonQuickAccessToolBarAutomationPeer.cs (2)
57public override object GetPattern(PatternInterface patternInterface) 59if (patternInterface == PatternInterface.ExpandCollapse &&
Microsoft\Windows\Automation\Peers\RibbonSplitButtonAutomationPeer.cs (3)
48public override object GetPattern(PatternInterface patternInterface) 50if (patternInterface == PatternInterface.Toggle && OwningSplitButton.IsCheckable) 55else if (patternInterface == PatternInterface.Invoke && !OwningSplitButton.IsCheckable)
Microsoft\Windows\Automation\Peers\RibbonTabDataAutomationPeer.cs (3)
37public override object GetPattern(PatternInterface patternInterface) 43if (patternInterface == PatternInterface.ExpandCollapse && 51if(patternInterface == PatternInterface.ScrollItem)
Microsoft\Windows\Automation\Peers\RibbonTabHeaderDataAutomationPeer.cs (1)
53public override object GetPattern(PatternInterface patternInterface)
Microsoft\Windows\Automation\Peers\RibbonTextBoxAutomationPeer.cs (2)
120override public object GetPattern(PatternInterface patternInterface) 122if (patternInterface == PatternInterface.Invoke)