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