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)
185return peer?.GetPattern(PatternInterface.Text) != null;
System\Windows\Automation\Peers\AutomationPeer.cs (24)
282abstract public object GetPattern(PatternInterface patternInterface); 2381s_patternInfo[InvokePatternIdentifiers.Pattern.Id] = new PatternInfo(InvokePatternIdentifiers.Pattern.Id, new WrapObject(InvokeProviderWrapper.Wrap), PatternInterface.Invoke); 2382s_patternInfo[SelectionPatternIdentifiers.Pattern.Id] = new PatternInfo(SelectionPatternIdentifiers.Pattern.Id, new WrapObject(SelectionProviderWrapper.Wrap), PatternInterface.Selection); 2383s_patternInfo[ValuePatternIdentifiers.Pattern.Id] = new PatternInfo(ValuePatternIdentifiers.Pattern.Id, new WrapObject(ValueProviderWrapper.Wrap), PatternInterface.Value); 2384s_patternInfo[RangeValuePatternIdentifiers.Pattern.Id] = new PatternInfo(RangeValuePatternIdentifiers.Pattern.Id, new WrapObject(RangeValueProviderWrapper.Wrap), PatternInterface.RangeValue); 2385s_patternInfo[ScrollPatternIdentifiers.Pattern.Id] = new PatternInfo(ScrollPatternIdentifiers.Pattern.Id, new WrapObject(ScrollProviderWrapper.Wrap), PatternInterface.Scroll); 2386s_patternInfo[ScrollItemPatternIdentifiers.Pattern.Id] = new PatternInfo(ScrollItemPatternIdentifiers.Pattern.Id, new WrapObject(ScrollItemProviderWrapper.Wrap), PatternInterface.ScrollItem); 2387s_patternInfo[ExpandCollapsePatternIdentifiers.Pattern.Id] = new PatternInfo(ExpandCollapsePatternIdentifiers.Pattern.Id, new WrapObject(ExpandCollapseProviderWrapper.Wrap), PatternInterface.ExpandCollapse); 2388s_patternInfo[GridPatternIdentifiers.Pattern.Id] = new PatternInfo(GridPatternIdentifiers.Pattern.Id, new WrapObject(GridProviderWrapper.Wrap), PatternInterface.Grid); 2389s_patternInfo[GridItemPatternIdentifiers.Pattern.Id] = new PatternInfo(GridItemPatternIdentifiers.Pattern.Id, new WrapObject(GridItemProviderWrapper.Wrap), PatternInterface.GridItem); 2390s_patternInfo[MultipleViewPatternIdentifiers.Pattern.Id] = new PatternInfo(MultipleViewPatternIdentifiers.Pattern.Id, new WrapObject(MultipleViewProviderWrapper.Wrap), PatternInterface.MultipleView); 2391s_patternInfo[WindowPatternIdentifiers.Pattern.Id] = new PatternInfo(WindowPatternIdentifiers.Pattern.Id, new WrapObject(WindowProviderWrapper.Wrap), PatternInterface.Window); 2392s_patternInfo[SelectionItemPatternIdentifiers.Pattern.Id] = new PatternInfo(SelectionItemPatternIdentifiers.Pattern.Id, new WrapObject(SelectionItemProviderWrapper.Wrap), PatternInterface.SelectionItem); 2393s_patternInfo[DockPatternIdentifiers.Pattern.Id] = new PatternInfo(DockPatternIdentifiers.Pattern.Id, new WrapObject(DockProviderWrapper.Wrap), PatternInterface.Dock); 2394s_patternInfo[TablePatternIdentifiers.Pattern.Id] = new PatternInfo(TablePatternIdentifiers.Pattern.Id, new WrapObject(TableProviderWrapper.Wrap), PatternInterface.Table); 2395s_patternInfo[TableItemPatternIdentifiers.Pattern.Id] = new PatternInfo(TableItemPatternIdentifiers.Pattern.Id, new WrapObject(TableItemProviderWrapper.Wrap), PatternInterface.TableItem); 2396s_patternInfo[TogglePatternIdentifiers.Pattern.Id] = new PatternInfo(TogglePatternIdentifiers.Pattern.Id, new WrapObject(ToggleProviderWrapper.Wrap), PatternInterface.Toggle); 2397s_patternInfo[TransformPatternIdentifiers.Pattern.Id] = new PatternInfo(TransformPatternIdentifiers.Pattern.Id, new WrapObject(TransformProviderWrapper.Wrap), PatternInterface.Transform); 2398s_patternInfo[TextPatternIdentifiers.Pattern.Id] = new PatternInfo(TextPatternIdentifiers.Pattern.Id, new WrapObject(TextProviderWrapper.Wrap), PatternInterface.Text); 2403s_patternInfo[VirtualizedItemPatternIdentifiers.Pattern.Id] = new PatternInfo(VirtualizedItemPatternIdentifiers.Pattern.Id, new WrapObject(VirtualizedItemProviderWrapper.Wrap), PatternInterface.VirtualizedItem); 2405s_patternInfo[ItemContainerPatternIdentifiers.Pattern.Id] = new PatternInfo(ItemContainerPatternIdentifiers.Pattern.Id, new WrapObject(ItemContainerProviderWrapper.Wrap), PatternInterface.ItemContainer); 2408s_patternInfo[SynchronizedInputPatternIdentifiers.Pattern.Id] = new PatternInfo(SynchronizedInputPatternIdentifiers.Pattern.Id, new WrapObject(SynchronizedInputProviderWrapper.Wrap), PatternInterface.SynchronizedInput); 2470internal PatternInfo(int id, WrapObject wrapObject, PatternInterface patternInterface) 2479internal PatternInterface PatternInterface;
System\Windows\Automation\Peers\ContentElementAutomationPeer.cs (2)
73override public object GetPattern(PatternInterface patternInterface) 76if (patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\UIElement3DAutomationPeer.cs (2)
123override public object GetPattern(PatternInterface patternInterface) 126if (patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
142override public object GetPattern(PatternInterface patternInterface) 145if (patternInterface == PatternInterface.SynchronizedInput)
PresentationFramework (141)
System\Windows\Automation\Peers\ButtonAutomationPeer.cs (2)
42override public object GetPattern(PatternInterface patternInterface) 44if (patternInterface == PatternInterface.Invoke)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (6)
72public override object GetPattern(PatternInterface patternInterface) 76case PatternInterface.Grid: 77case PatternInterface.Table: 78case PatternInterface.MultipleView: 79case PatternInterface.Selection: 80case PatternInterface.ItemContainer:
System\Windows\Automation\Peers\ComboBoxAutomationPeer.cs (4)
51override public object GetPattern(PatternInterface pattern) 56if (pattern == PatternInterface.Value) 60else if(pattern == PatternInterface.ExpandCollapse) 64else if (pattern == PatternInterface.Scroll && !owner.IsDropDownOpen)
System\Windows\Automation\Peers\ContentTextAutomationPeer.cs (1)
55TextAdaptor textAdaptor = GetPattern(PatternInterface.Text) as TextAdaptor;
System\Windows\Automation\Peers\DataGridAutomationPeer.cs (5)
85public override object GetPattern(PatternInterface patternInterface) 89case PatternInterface.Grid: 90case PatternInterface.Selection: 91case PatternInterface.Table: 93case PatternInterface.Scroll:
System\Windows\Automation\Peers\DataGridCellItemAutomationPeer.cs (8)
253public override object GetPattern(PatternInterface patternInterface) 257case PatternInterface.Invoke: 263case PatternInterface.Value: 271case PatternInterface.SelectionItem: 278case PatternInterface.ScrollItem: 279case PatternInterface.GridItem: 280case PatternInterface.TableItem: 282case PatternInterface.VirtualizedItem:
System\Windows\Automation\Peers\DataGridColumnHeaderItemAutomationPeer.cs (5)
64public override object GetPattern(PatternInterface patternInterface) 68case PatternInterface.Invoke: 78case PatternInterface.ScrollItem: 87case PatternInterface.Transform: 96case PatternInterface.VirtualizedItem:
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (6)
83public override object GetPattern(PatternInterface patternInterface) 87case PatternInterface.Invoke: 94case PatternInterface.ScrollItem: 95case PatternInterface.Selection: 96case PatternInterface.ItemContainer: 98case PatternInterface.SelectionItem:
System\Windows\Automation\Peers\DatePickerAutomationPeer.cs (3)
46public override object GetPattern(PatternInterface patternInterface) 48if (patternInterface == PatternInterface.ExpandCollapse || patternInterface == PatternInterface.Value)
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (6)
357public override object GetPattern(PatternInterface patternInterface) 364case PatternInterface.Invoke: 365case PatternInterface.GridItem: 373case PatternInterface.TableItem: 381case PatternInterface.SelectionItem: 386case PatternInterface.VirtualizedItem:
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (2)
74public override object GetPattern(PatternInterface patternInterface) 78if (patternInterface == PatternInterface.Text)
System\Windows\Automation\Peers\DocumentViewerAutomationPeer.cs (2)
46override public object GetPattern(PatternInterface patternInterface) 52if (patternInterface == PatternInterface.Scroll)
System\Windows\Automation\Peers\DocumentViewerBaseAutomationPeer.cs (2)
31public override object GetPattern(PatternInterface patternInterface) 35if (patternInterface == PatternInterface.Text)
System\Windows\Automation\Peers\ExpanderAutomationPeer.cs (2)
71override public object GetPattern(PatternInterface pattern) 75if(pattern == PatternInterface.ExpandCollapse)
System\Windows\Automation\Peers\FlowDocumentReaderAutomationPeer.cs (2)
33public override object GetPattern(PatternInterface patternInterface) 36if (patternInterface == PatternInterface.MultipleView)
System\Windows\Automation\Peers\FlowDocumentScrollViewerAutomationPeer.cs (4)
35public override object GetPattern(PatternInterface patternInterface) 39if (patternInterface == PatternInterface.Scroll) 52else if (patternInterface == PatternInterface.Text) 64else if (patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\GridSplitterAutomationPeer.cs (2)
35override public object GetPattern(PatternInterface patternInterface) 37if (patternInterface == PatternInterface.Transform)
System\Windows\Automation\Peers\GridViewAutomationPeer.cs (3)
62object IViewAutomationPeer.GetPattern(PatternInterface patternInterface) 67case PatternInterface.Grid: 68case PatternInterface.Table:
System\Windows\Automation\Peers\GridViewCellAutomationPeer.cs (3)
63override public object GetPattern(PatternInterface patternInterface) 65if (patternInterface == PatternInterface.GridItem || patternInterface == PatternInterface.TableItem)
System\Windows\Automation\Peers\GridViewColumnHeaderAutomationPeer.cs (3)
52override public object GetPattern(PatternInterface patternInterface) 54if (patternInterface == PatternInterface.Invoke || patternInterface == PatternInterface.Transform)
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (2)
104override public object GetPattern(PatternInterface patternInterface) 106if(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)
57override public object GetPattern(PatternInterface patternInterface) 59if (patternInterface == PatternInterface.VirtualizedItem) 80else if(patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (3)
36override public object GetPattern(PatternInterface patternInterface) 38if(patternInterface == PatternInterface.Scroll) 51else if (patternInterface == PatternInterface.ItemContainer)
System\Windows\Automation\Peers\IViewAutomationPeer.cs (1)
31object GetPattern(PatternInterface patternInterface);
System\Windows\Automation\Peers\ListBoxItemAutomationPeer.cs (2)
45override public object GetPattern(PatternInterface patternInterface) 47if (patternInterface == PatternInterface.ScrollItem)
System\Windows\Automation\Peers\ListViewAutomationPeer.cs (1)
53override public object GetPattern(PatternInterface patternInterface)
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (5)
44override public object GetPattern(PatternInterface patternInterface) 49if (patternInterface == PatternInterface.ExpandCollapse) 58else if (patternInterface == PatternInterface.Toggle) 65else if (patternInterface == PatternInterface.Invoke) 74else if (patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\PasswordBoxAutomationPeer.cs (4)
63override public object GetPattern(PatternInterface patternInterface) 67if (patternInterface == PatternInterface.Value) 71else if (patternInterface == PatternInterface.Text) 80else if (patternInterface == PatternInterface.Scroll)
System\Windows\Automation\Peers\ProgressBarAutomationPeer.cs (2)
38override public object GetPattern(PatternInterface patternInterface) 41if (patternInterface == PatternInterface.RangeValue && ((ProgressBar)Owner).IsIndeterminate)
System\Windows\Automation\Peers\RadioButtonAutomationPeer.cs (3)
40override public object GetPattern(PatternInterface patternInterface) 42if (patternInterface == PatternInterface.SelectionItem) 46else if(patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\RangeBaseAutomationPeer.cs (2)
30override public object GetPattern(PatternInterface patternInterface) 32if (patternInterface == PatternInterface.RangeValue)
System\Windows\Automation\Peers\RepeatButtonAutomationPeer.cs (2)
41override public object GetPattern(PatternInterface patternInterface) 43if (patternInterface == PatternInterface.Invoke)
System\Windows\Automation\Peers\RichTextBoxAutomationPeer.cs (3)
46override public object GetPattern(PatternInterface patternInterface) 51if (patternInterface == PatternInterface.Text) 61if (patternInterface == PatternInterface.Scroll)
System\Windows\Automation\Peers\ScrollViewerAutomationPeer.cs (2)
57override public object GetPattern(PatternInterface patternInterface) 59if (patternInterface == PatternInterface.Scroll)
System\Windows\Automation\Peers\SelectorAutomationPeer.cs (3)
37override public object GetPattern(PatternInterface patternInterface) 39if(patternInterface == PatternInterface.Selection) 78ISelectionItemProvider selectionItem = itemPeer.GetPattern(PatternInterface.SelectionItem) as ISelectionItemProvider;
System\Windows\Automation\Peers\SelectorItemAutomationPeer.cs (2)
33override public object GetPattern(PatternInterface patternInterface) 35if(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)
54TextAdaptor textAdaptor = GetPattern(PatternInterface.Text) as TextAdaptor;
System\Windows\Automation\Peers\TextBoxAutomationPeer.cs (5)
46override public object GetPattern(PatternInterface patternInterface) 50if(patternInterface == PatternInterface.Value) 53if (patternInterface == PatternInterface.Text) 61if (patternInterface == PatternInterface.Scroll) 71if (patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\ToggleButtonAutomationPeer.cs (2)
41override public object GetPattern(PatternInterface patternInterface) 43if (patternInterface == PatternInterface.Toggle)
System\Windows\Automation\Peers\TreeViewAutomationPeer.cs (4)
43override public object GetPattern(PatternInterface patternInterface) 45if (patternInterface == PatternInterface.Selection) 49else if(patternInterface == PatternInterface.Scroll) 144ISelectionItemProvider selectionItem = itemPeer.GetPattern(PatternInterface.SelectionItem) as ISelectionItemProvider;
System\Windows\Automation\Peers\TreeViewDataItemAutomationPeer.cs (7)
42override public object GetPattern(PatternInterface patternInterface) 44if (patternInterface == PatternInterface.ExpandCollapse) 48else if (patternInterface == PatternInterface.SelectionItem) 52else if (patternInterface == PatternInterface.ScrollItem) 56else if ((patternInterface == PatternInterface.ItemContainer) || (patternInterface == PatternInterface.SynchronizedInput)) 61if(patternInterface == PatternInterface.SynchronizedInput)
System\Windows\Automation\Peers\TreeViewItemAutomationPeer.cs (5)
44override public object GetPattern(PatternInterface patternInterface) 46if (patternInterface == PatternInterface.ExpandCollapse) 50else if (patternInterface == PatternInterface.SelectionItem) 54else if (patternInterface == PatternInterface.ScrollItem) 224ISelectionItemProvider selectionItem = itemPeer.GetPattern(PatternInterface.SelectionItem) as ISelectionItemProvider;
PresentationUI (4)
MS\Internal\Documents\Application\PageTextBox.cs (2)
387override public object GetPattern(PatternInterface patternInterface) 389if (patternInterface == PatternInterface.Value)
MS\Internal\Documents\Application\ZoomComboBox.cs (2)
540override public object GetPattern(PatternInterface patternInterface) 542if (patternInterface == PatternInterface.Value)
System.Windows.Controls.Ribbon (42)
Microsoft\Windows\Automation\Peers\RibbonAutomationPeer.cs (3)
53public override object GetPattern(PatternInterface patternInterface) 60if (patternInterface == PatternInterface.ExpandCollapse) 66if (patternInterface == PatternInterface.Scroll)
Microsoft\Windows\Automation\Peers\RibbonComboBoxAutomationPeer.cs (2)
48public override object GetPattern(PatternInterface patternInterface) 50if (patternInterface == PatternInterface.Value)
Microsoft\Windows\Automation\Peers\RibbonContextualTabGroupDataAutomationPeer.cs (2)
77public override object GetPattern(PatternInterface patternInterface) 79if (patternInterface == PatternInterface.Invoke)
Microsoft\Windows\Automation\Peers\RibbonContextualTabGroupItemsControlAutomationPeer.cs (2)
43public override object GetPattern(PatternInterface patternInterface) 46if (patternInterface == PatternInterface.Scroll)
Microsoft\Windows\Automation\Peers\RibbonControlDataAutomationPeer.cs (1)
53public override object GetPattern(PatternInterface patternInterface)
Microsoft\Windows\Automation\Peers\RibbonGalleryAutomationPeer.cs (2)
43override public object GetPattern(PatternInterface patternInterface) 45if (patternInterface == PatternInterface.Selection)
Microsoft\Windows\Automation\Peers\RibbonGalleryCategoryAutomationPeer.cs (1)
55public 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)
57override public object GetPattern(PatternInterface patternInterface) 59if (patternInterface == PatternInterface.ScrollItem || patternInterface == PatternInterface.SelectionItem)
Microsoft\Windows\Automation\Peers\RibbonGroupAutomationPeer.cs (2)
73public override object GetPattern(PatternInterface patternInterface) 76if (patternInterface == PatternInterface.Scroll)
Microsoft\Windows\Automation\Peers\RibbonGroupDataAutomationPeer.cs (3)
40public override object GetPattern(PatternInterface patternInterface) 45if (patternInterface == PatternInterface.ScrollItem) 49else if (patternInterface == PatternInterface.ExpandCollapse)
Microsoft\Windows\Automation\Peers\RibbonMenuButtonAutomationPeer.cs (3)
149public override object GetPattern(PatternInterface patternInterface) 152if (patternInterface == PatternInterface.ExpandCollapse && OwningMenuButton.HasItems) 156else if (patternInterface == PatternInterface.Transform)
Microsoft\Windows\Automation\Peers\RibbonMenuItemDataAutomationPeer.cs (5)
71public override object GetPattern(PatternInterface patternInterface) 89if (patternInterface == PatternInterface.ExpandCollapse) 97else if (patternInterface == PatternInterface.Toggle) 104else if (patternInterface == PatternInterface.Invoke) 112else if (patternInterface == PatternInterface.Transform)
Microsoft\Windows\Automation\Peers\RibbonQuickAccessToolBarAutomationPeer.cs (2)
61public override object GetPattern(PatternInterface patternInterface) 63if (patternInterface == PatternInterface.ExpandCollapse &&
Microsoft\Windows\Automation\Peers\RibbonSplitButtonAutomationPeer.cs (3)
51public override object GetPattern(PatternInterface patternInterface) 53if (patternInterface == PatternInterface.Toggle && OwningSplitButton.IsCheckable) 58else if (patternInterface == PatternInterface.Invoke && !OwningSplitButton.IsCheckable)
Microsoft\Windows\Automation\Peers\RibbonTabDataAutomationPeer.cs (3)
43public override object GetPattern(PatternInterface patternInterface) 49if (patternInterface == PatternInterface.ExpandCollapse && 57if(patternInterface == PatternInterface.ScrollItem)
Microsoft\Windows\Automation\Peers\RibbonTabHeaderDataAutomationPeer.cs (1)
63public override object GetPattern(PatternInterface patternInterface)
Microsoft\Windows\Automation\Peers\RibbonTextBoxAutomationPeer.cs (2)
122override public object GetPattern(PatternInterface patternInterface) 124if (patternInterface == PatternInterface.Invoke)