24 overrides of IsPatternSupported
System.Windows.Forms (24)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
500internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Accessibility\LabelEditAccessibleObject.cs (1)
59internal override bool IsPatternSupported(UIA_PATTERN_ID patternId) => patternId switch
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildDropDownButtonUiaProvider.cs (1)
94internal override bool IsPatternSupported(UIA_PATTERN_ID patternId) => patternId switch
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildEditUiaProvider.cs (1)
95internal override bool IsPatternSupported(UIA_PATTERN_ID patternId) =>
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildListUiaProvider.cs (1)
173internal override bool IsPatternSupported(UIA_PATTERN_ID patternId) => patternId switch
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObject.cs (1)
129internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (1)
235internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
695internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (1)
471internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (1)
101internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (1)
175internal override bool IsPatternSupported(UIA_PATTERN_ID patternId) => patternId switch
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
294internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (1)
237internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObject.cs (1)
146internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarChildAccessibleObject.cs (1)
36internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
365internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (1)
131internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
433internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarChildAccessibleObject.cs (1)
82internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (1)
124internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.DirectionButtonAccessibleObject.cs (1)
82internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.ControlItemAccessibleObject.cs (1)
96internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.ErrorWindowAccessibleObject.cs (1)
90internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarChildAccessibleObject.cs (1)
99internal override bool IsPatternSupported(UIA_PATTERN_ID patternId)
84 references to IsPatternSupported
System.Windows.Forms (39)
System\Windows\Forms\Accessibility\AccessibleObject.cs (16)
618UIA_PROPERTY_ID.UIA_IsExpandCollapsePatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_ExpandCollapsePatternId), 619UIA_PROPERTY_ID.UIA_IsGridItemPatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_GridItemPatternId), 620UIA_PROPERTY_ID.UIA_IsGridPatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_GridPatternId), 622UIA_PROPERTY_ID.UIA_IsLegacyIAccessiblePatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_LegacyIAccessiblePatternId), 623UIA_PROPERTY_ID.UIA_IsMultipleViewPatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_MultipleViewPatternId), 626UIA_PROPERTY_ID.UIA_IsScrollItemPatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_ScrollItemPatternId), 627UIA_PROPERTY_ID.UIA_IsScrollPatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_ScrollPatternId), 628UIA_PROPERTY_ID.UIA_IsSelectionItemPatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_SelectionItemPatternId), 629UIA_PROPERTY_ID.UIA_IsSelectionPatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_SelectionPatternId), 630UIA_PROPERTY_ID.UIA_IsTableItemPatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_TableItemPatternId), 631UIA_PROPERTY_ID.UIA_IsTablePatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_TablePatternId), 632UIA_PROPERTY_ID.UIA_IsTextPattern2AvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_TextPattern2Id), 633UIA_PROPERTY_ID.UIA_IsTextPatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_TextPatternId), 634UIA_PROPERTY_ID.UIA_IsTogglePatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_TogglePatternId), 635UIA_PROPERTY_ID.UIA_IsValuePatternAvailablePropertyId => (VARIANT)IsPatternSupported(UIA_PATTERN_ID.UIA_ValuePatternId), 999if (IsPatternSupported(patternId))
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
502|| base.IsPatternSupported(patternId);
System\Windows\Forms\Accessibility\LabelEditAccessibleObject.cs (1)
65_ => base.IsPatternSupported(patternId),
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildDropDownButtonUiaProvider.cs (1)
97_ => base.IsPatternSupported(patternId)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildEditUiaProvider.cs (1)
101_ => base.IsPatternSupported(patternId)
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxChildListUiaProvider.cs (1)
176_ => base.IsPatternSupported(patternId),
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxItemAccessibleObject.cs (1)
137_ => base.IsPatternSupported(patternId),
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (1)
242return base.IsPatternSupported(patternId);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
711return base.IsPatternSupported(patternId);
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (1)
108return base.IsPatternSupported(patternId);
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (1)
180_ => base.IsPatternSupported(patternId),
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
299_ => base.IsPatternSupported(patternId),
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (1)
245_ => base.IsPatternSupported(patternId)
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewSubItem.ListViewSubItemAccessibleObject.cs (1)
153return base.IsPatternSupported(patternId);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarChildAccessibleObject.cs (1)
40_ => base.IsPatternSupported(patternId)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
401return base.IsPatternSupported(patternId);
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (1)
139_ => base.IsPatternSupported(patternId)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
440return base.IsPatternSupported(patternId);
System\Windows\Forms\Controls\TrackBar\TrackBar.TrackBarChildAccessibleObject.cs (1)
87_ => base.IsPatternSupported(patternId)
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (1)
133_ => base.IsPatternSupported(patternId),
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.DirectionButtonAccessibleObject.cs (1)
86base.IsPatternSupported(patternId);
System\Windows\Forms\ErrorProvider\ErrorProvider.ControlItem.ControlItemAccessibleObject.cs (1)
103return base.IsPatternSupported(patternId);
System\Windows\Forms\ErrorProvider\ErrorProvider.ErrorWindow.ErrorWindowAccessibleObject.cs (1)
97return base.IsPatternSupported(patternId);
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarChildAccessibleObject.cs (1)
103_ => base.IsPatternSupported(patternId)
System.Windows.Forms.Tests (45)
System\Windows\Forms\AccessibleObjects\CheckedListBoxItemAccessibleObjectTests.cs (1)
94Assert.True(itemAccessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId));
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (2)
1232bool actual = accessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_LegacyIAccessiblePatternId); 1308bool supportsLegacyIAccessiblePatternId = controlAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_LegacyIAccessiblePatternId);
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (3)
351Assert.True(accessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId)); 361Assert.False(accessibilityObject.IsPatternSupported((UIA_PATTERN_ID)UIA_PROPERTY_ID.UIA_IsTablePatternAvailablePropertyId)); 373Assert.False(accessibilityObject.IsPatternSupported((UIA_PATTERN_ID)UIA_PROPERTY_ID.UIA_IsTablePatternAvailablePropertyId));
System\Windows\Forms\AccessibleObjects\DataGridViewTextBoxEditingControl.DataGridViewTextBoxEditingControlAccessibleObjectTests.cs (1)
58Assert.True(accessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId));
System\Windows\Forms\AccessibleObjects\DateTimePicker.DateTimePickerAccessibleObjectTests.cs (2)
260Assert.True(accessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId)); 275Assert.True(accessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId));
System\Windows\Forms\AccessibleObjects\ErrorProvider.ControlItem.ControlItemAccessibleObjectTests.cs (1)
140Assert.True(accessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId));
System\Windows\Forms\AccessibleObjects\ErrorProvider.ErrorWindow.ErrorWindowAccessibleObjectTests.cs (1)
54Assert.True(accessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId));
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (1)
23Assert.True(child.IsPatternSupported(UIA_PATTERN_ID.UIA_ScrollItemPatternId));
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemAccessibleObjectTests.cs (1)
853Assert.Equal(checkboxesEnabled, listViewItem.AccessibilityObject.IsPatternSupported(UIA_PATTERN_ID.UIA_TogglePatternId));
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemBaseAccessibleObjectTests.cs (1)
344Assert.True(item.AccessibilityObject.IsPatternSupported((UIA_PATTERN_ID)patternId));
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (1)
55bool supportsLegacyIAccessiblePatternId = menuStripAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_LegacyIAccessiblePatternId);
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (2)
36Assert.True(accessibleObject.IsPatternSupported((UIA_PATTERN_ID)pattern)); 57Assert.True(gridViewChild.IsPatternSupported((UIA_PATTERN_ID)pattern));
System\Windows\Forms\AccessibleObjects\PropertyGridToolStripButton.PropertyGridToolStripButtonAccessibleObjectTests.cs (6)
50Assert.True(categoryButtonAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_SelectionItemPatternId)); 51Assert.True(alphaButtonAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_SelectionItemPatternId)); 55Assert.False(propertyPagesButtonAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_SelectionItemPatternId)); 186Assert.False(categoryButtonAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_TogglePatternId)); 187Assert.False(alphaButtonAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_TogglePatternId)); 188Assert.False(propertyPagesButtonAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_TogglePatternId));
System\Windows\Forms\AccessibleObjects\PropertyGridView.GridViewListBoxItemAccessibleObjectTests.cs (1)
69Assert.True(accessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId));
System\Windows\Forms\AccessibleObjects\PropertyGridView.PropertyGridViewAccessibleObjectTests.cs (1)
230Assert.True(accessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId));
System\Windows\Forms\AccessibleObjects\ScrollBar.ScrollBarAccessibleObjectTests.cs (1)
45Assert.True(accessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_ValuePatternId));
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (1)
35bool supportsLegacyIAccessiblePatternId = statusStripAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_LegacyIAccessiblePatternId);
System\Windows\Forms\AccessibleObjects\TextBoxAccessibleObjectTests.cs (1)
36Assert.True(textBoxAccessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId));
System\Windows\Forms\AccessibleObjects\TextBoxBaseAccessibleObjectTests.cs (1)
50Assert.True(textBoxAccessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId));
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
45bool supportsLegacyIAccessiblePatternId = toolStripAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_LegacyIAccessiblePatternId);
System\Windows\Forms\AccessibleObjects\ToolStripButton.ToolStripButtonAccessibleObjectTests.cs (3)
141object actual = toolStripButton.AccessibilityObject.IsPatternSupported(UIA_PATTERN_ID.UIA_TogglePatternId); 154object actual = toolStripButton.AccessibilityObject.IsPatternSupported(UIA_PATTERN_ID.UIA_TogglePatternId); 205Assert.False(toolStripButton.AccessibilityObject.IsPatternSupported(UIA_PATTERN_ID.UIA_TogglePatternId));
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (1)
72bool supportsLegacyIAccessiblePatternId = toolStripItemAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_LegacyIAccessiblePatternId);
System\Windows\Forms\AccessibleObjects\ToolStripMenuItem.ToolStripMenuItemAccessibleObjectTests.cs (2)
34Assert.True(item1.AccessibilityObject.IsPatternSupported(UIA_PATTERN_ID.UIA_InvokePatternId)); 214object actual = toolStripMenuItem.AccessibilityObject.IsPatternSupported(UIA_PATTERN_ID.UIA_TogglePatternId);
System\Windows\Forms\AccessibleObjects\ToolStripTextBox.ToolStripTextBoxAccessibleObjectTests.cs (1)
33bool supportsLegacyIAccessiblePatternId = toolStripTextBoxAccessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_LegacyIAccessiblePatternId);
System\Windows\Forms\AccessibleObjects\ToolStripTextBox.ToolStripTextBoxControlAccessibleObjectTests.cs (1)
68Assert.True(accessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId));
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (2)
396Assert.True(trackBar.AccessibilityObject.IsPatternSupported(UIA_PATTERN_ID.UIA_ValuePatternId)); 397Assert.True(trackBar.AccessibilityObject.IsPatternSupported(UIA_PATTERN_ID.UIA_LegacyIAccessiblePatternId));
System\Windows\Forms\AccessibleObjects\TreeView.TreeViewAccessibleObjectTests.cs (1)
172Assert.True(control.AccessibilityObject.IsPatternSupported((UIA_PATTERN_ID)patternId));
System\Windows\Forms\AccessibleObjects\UpDownBase.UpDownEdit.UpDownEditAccessibleObjectTests.cs (1)
141Assert.True(accessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId));
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (2)
102Assert.True(accessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_ExpandCollapsePatternId)); 121Assert.True(accessibleObject.IsPatternSupported(UIA_PATTERN_ID.UIA_ExpandCollapsePatternId));
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObjectTests.cs (1)
140Assert.True(accessibleObject.IsPatternSupported((UIA_PATTERN_ID)patternId));