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