126 writes to AccessibleName
Accessibility_Core_App (25)
CommonControl1.Designer.cs (3)
644
this.dateTimePicker3.
AccessibleName
= "DTP2";
653
this.dateTimePicker2.
AccessibleName
= "DTP3";
664
this.dateTimePicker1.
AccessibleName
= "DTP1";
DataBindingExample.Designer.cs (19)
55
this.comboBox1.
AccessibleName
= "CB1";
66
this.dataGridView1.
AccessibleName
= "DGV1";
78
this.label1.
AccessibleName
= "L1";
89
this.textBox1.
AccessibleName
= "TB1";
99
this.button1.
AccessibleName
= "BT1";
110
this.panel1.
AccessibleName
= "Panel1";
130
this.radioButton1.
AccessibleName
= "RB1";
143
this.numericUpDown1.
AccessibleName
= "NUO1";
152
this.domainUpDown1.
AccessibleName
= "DUO1";
162
this.richTextBox1.
AccessibleName
= "RT1";
173
this.checkBox1.
AccessibleName
= "CB2";
185
this.maskedTextBox1.
AccessibleName
= "MT1";
195
this.linkLabel1.
AccessibleName
= "IL1";
207
this.label2.
AccessibleName
= "L2";
218
this.treeView1.
AccessibleName
= "TV1";
227
this.label3.
AccessibleName
= "L3";
238
this.listView1.
AccessibleName
= "LV1";
250
this.label4.
AccessibleName
= "L5";
261
this.listBox1.
AccessibleName
= "LB5";
DataControls.Designer.cs (2)
265
this.dataGridView1.
AccessibleName
= "DGV1";
338
this.dataGridView2.
AccessibleName
= "DGV2";
PrintingControls.Designer.cs (1)
145
this.printPreviewControl1.
AccessibleName
= "Image layout ready for printing";
PresentationUI (1)
MS\Internal\Documents\RMPublishingDialog.cs (1)
537
button.
AccessibleName
= text;
System.Windows.Forms (15)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
327
owner.
AccessibleName
= value;
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
461
_horizScrollBar.
AccessibleName
= SR.DataGridView_AccHorizontalScrollBarAccName;
469
_vertScrollBar.
AccessibleName
= SR.DataGridView_AccVerticalScrollBarAccName;
2234
AccessibleName
= SR.DataGridView_AccEditingPanelAccName
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
2681
EditingControl.
AccessibleName
= SR.DataGridView_AccEditingControlAccName;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (1)
122
AccessibleName
= _useComboBoxTheme
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (1)
61
_detailsTextBox.
AccessibleName
= SR.ExDlgDetailsText;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (2)
113
_descriptionLabel.
AccessibleName
= _fullDescription; // Don't crop the description for accessibility clients
202
_descriptionLabel.
AccessibleName
= _fullDescription;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
4355
EditTextBox.
AccessibleName
= gridEntry.Label;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
605
ControlInternal.
AccessibleName
= AccessibleName;
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.ToolStripDropDownAccessibleObject.cs (1)
41
owner.
AccessibleName
= value;
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
67
AccessibleName
= SR.HScrollBarDefaultAccessibleName,
81
AccessibleName
= SR.VScrollBarDefaultAccessibleName,
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
358
set => base.
AccessibleName
= value;
System.Windows.Forms.Design (32)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
805
AccessibleName
= title;
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
251
_button.
AccessibleName
= EditControl.AccessibleName;
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
150
EditControl.
AccessibleName
= StripAmpersands(PropertyItem.DisplayName);
System\ComponentModel\Design\DesignerActionUI.cs (2)
708
_designerActionHost.
AccessibleName
= string.Format(SR.DesignerActionPanel_DefaultPanelTitle, relatedComponent.GetType().Name);
709
panel.
AccessibleName
= string.Format(SR.DesignerActionPanel_DefaultPanelTitle, relatedComponent.GetType().Name);
System\Drawing\Design\ColorEditor.ColorUI.cs (1)
166
AccessibleName
= SR.ColorEditorAccName;
System\Drawing\Design\ContentAlignmentEditor.ContentUI.cs (10)
112
AccessibleName
= SR.ContentAlignmentEditorAccName;
118
_topLeft.
AccessibleName
= SR.ContentAlignmentEditorTopLeftAccName;
124
_topCenter.
AccessibleName
= SR.ContentAlignmentEditorTopCenterAccName;
130
_topRight.
AccessibleName
= SR.ContentAlignmentEditorTopRightAccName;
136
_middleLeft.
AccessibleName
= SR.ContentAlignmentEditorMiddleLeftAccName;
142
_middleCenter.
AccessibleName
= SR.ContentAlignmentEditorMiddleCenterAccName;
148
_middleRight.
AccessibleName
= SR.ContentAlignmentEditorMiddleRightAccName;
154
_bottomLeft.
AccessibleName
= SR.ContentAlignmentEditorBottomLeftAccName;
160
_bottomCenter.
AccessibleName
= SR.ContentAlignmentEditorBottomCenterAccName;
166
_bottomRight.
AccessibleName
= SR.ContentAlignmentEditorBottomRightAccName;
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (5)
77
AccessibleName
= SR.AnchorEditorAccName;
92
_right.
AccessibleName
= SR.AnchorEditorRightAccName;
99
_left.
AccessibleName
= SR.AnchorEditorLeftAccName;
106
_top.
AccessibleName
= SR.AnchorEditorTopAccName;
113
_bottom.
AccessibleName
= SR.AnchorEditorBottomAccName;
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
246
_treeViewCtrl.
AccessibleName
= (SR.DesignBindingPickerTreeViewAccessibleName);
346
AccessibleName
= SR.DesignBindingPickerAccessibleName;
System\Windows\Forms\Design\DockEditor.DockUI.cs (7)
50
AccessibleName
= SR.DockEditorNoneAccName
62
AccessibleName
= SR.DockEditorRightAccName
73
AccessibleName
= SR.DockEditorLeftAccName
84
AccessibleName
= SR.DockEditorTopAccName
95
AccessibleName
= SR.DockEditorBottomAccName
106
AccessibleName
= SR.DockEditorFillAccName
189
AccessibleName
= SR.DockEditorAccName;
System\Windows\Forms\Design\FormatControl.Designer.cs (1)
112
tableLayoutPanel1.
AccessibleName
= "";
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1640
AccessibleName
= SR.ToolStripDesignerToolStripAccessibleName;
System.Windows.Forms.Tests (51)
System\Windows\Forms\AccessibleObjects\Button.ButtonAccessibleObjectTests.cs (1)
76
AccessibleName
= "TestName"
System\Windows\Forms\AccessibleObjects\CheckBox.CheckBoxAccessibleObjectTests.cs (2)
195
AccessibleName
= "TestName"
216
AccessibleName
= "TestName"
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (2)
101
control.
AccessibleName
= name;
116
comboBox.
AccessibleName
= name;
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (7)
530
AccessibleName
= accessibleName,
546
AccessibleName
= accessibleName,
562
AccessibleName
= accessibleName,
671
AccessibleName
= accessibleName,
697
AccessibleName
= accessibleName,
722
AccessibleName
= accessibleName,
1330
control.
AccessibleName
= "Test Name";
System\Windows\Forms\AccessibleObjects\DateTimePicker.DateTimePickerAccessibleObjectTests.cs (1)
290
using DateTimePicker dateTimePicker = new() {
AccessibleName
= testAccessibleName };
System\Windows\Forms\AccessibleObjects\GroupBoxAccessibleObjectTests.cs (1)
23
groupBox.
AccessibleName
= testAccName;
System\Windows\Forms\AccessibleObjects\HScrollBar.HScrollBarAccessibleObjectTests.cs (1)
61
scrollBar.
AccessibleName
= accessibleName;
System\Windows\Forms\AccessibleObjects\LabelAccessibleObjectTests.cs (1)
21
AccessibleName
= "Address"
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (1)
208
list.
AccessibleName
= "ListView";
System\Windows\Forms\AccessibleObjects\MaskedTextBox.MaskedTextBoxAccessibleObjectTests.cs (2)
83
maskedTextBox.
AccessibleName
= accessibleName;
105
maskedTextBox.
AccessibleName
= accessibleName;
System\Windows\Forms\AccessibleObjects\MenuStrip.MenuStripAccessibleObjectTests.cs (1)
18
AccessibleName
= "Test Name"
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarBodyAccessibleObjectTests.cs (1)
323
control.
AccessibleName
= name;
System\Windows\Forms\AccessibleObjects\MonthCalendar.MonthCalendarAccessibleObjectTests.cs (1)
26
AccessibleName
= name
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (2)
51
AccessibleName
= expected
71
AccessibleName
= "PanelTestName"
System\Windows\Forms\AccessibleObjects\PictureBox.PictureBoxAccessibleObjectTests.cs (2)
48
AccessibleName
= "TestName"
100
AccessibleName
= "TestName"
System\Windows\Forms\AccessibleObjects\PrintPreviewControl.PrintPreviewControlAccessibleObjectTests.cs (1)
29
AccessibleName
= "TestName"
System\Windows\Forms\AccessibleObjects\PropertyGridToolStrip.PropertyGridToolStripAccessibleObjectTests.cs (2)
57
propertyGrid.
AccessibleName
= parentAccessibleName;
59
propertyGridToolStrip.
AccessibleName
= toolStripAccessibleName;
System\Windows\Forms\AccessibleObjects\RadioButton.RadioButtonAccessibleObjectTests.cs (2)
78
AccessibleName
= "TestName"
197
AccessibleName
= "TestName"
System\Windows\Forms\AccessibleObjects\ScrollBar.ScrollBarAccessibleObjectTests.cs (1)
63
AccessibleName
= "TestName",
System\Windows\Forms\AccessibleObjects\SplitContainer.SplitContainerAccessibleObjectTests.cs (1)
83
AccessibleName
= "TestName"
System\Windows\Forms\AccessibleObjects\Splitter.SplitterAccessibleObjectTests.cs (2)
48
AccessibleName
= "TestName"
101
AccessibleName
= "TestName"
System\Windows\Forms\AccessibleObjects\StatusStrip.StatusStripAccessibleObjectTests.cs (1)
18
AccessibleName
= "Test Name"
System\Windows\Forms\AccessibleObjects\TabControl.TabControlAccessibleObjectTests.cs (2)
555
tabControl.
AccessibleName
= accessibleName;
760
AccessibleName
= "TestName"
System\Windows\Forms\AccessibleObjects\TabPage.TabPageAccessibleObjectTests.cs (2)
108
AccessibleName
= accessibleName,
489
AccessibleName
= "TestName"
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
28
AccessibleName
= "Test Name"
System\Windows\Forms\AccessibleObjects\ToolStripContainer.ToolStripContainerAccessibleObjectTests.cs (1)
28
AccessibleName
= "TestName"
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (1)
431
AccessibleName
= expected.ToString()
System\Windows\Forms\AccessibleObjects\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObjectTests.cs (1)
88
upDownButtons.
AccessibleName
= name;
System\Windows\Forms\AccessibleObjects\UpDownBase.UpDownEdit.UpDownEditAccessibleObjectTests.cs (1)
52
upDown.
AccessibleName
= name;
System\Windows\Forms\AccessibleObjects\VScrollBar.VScrollBarAccessibleObjectTests.cs (1)
60
scrollBar.
AccessibleName
= accessibleName;
System\Windows\Forms\AccessibleObjects\WebBrowser.WebBrowserAccessibleObjectTests.cs (1)
29
AccessibleName
= expected.ToString()
System\Windows\Forms\ComboBox.ComboBoxChildEditUiaProviderTests.cs (1)
167
comboBox.
AccessibleName
= "Combo AO name";
System\Windows\Forms\ControlTests.Properties.cs (2)
143
AccessibleName
= value
149
control.
AccessibleName
= value;
System\Windows\Forms\ToolStripControlHostTests.cs (1)
25
AccessibleName
= "AccessibleName",
WinFormsControlsTest (2)
MultipleControls.Designer.cs (2)
89
this.label1.
AccessibleName
= "Test Label AccessibleName";
212
this.groupBox1.
AccessibleName
= "Test GroupBox AccessibleName";
77 references to AccessibleName
System.Windows.Forms (15)
System\Windows\Forms\Accessibility\AccessibleObjectExtensions.cs (1)
320
=> accessibleObject.Owner?.
AccessibleName
?? defaultName;
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
312
if (this.TryGetOwnerAs(out Control? owner) && owner.
AccessibleName
is { } name)
System\Windows\Forms\Control.cs (1)
920
private bool ShouldSerializeAccessibleName() => !string.IsNullOrEmpty(
AccessibleName
);
System\Windows\Forms\Controls\Buttons\ButtonBase.ButtonBaseAccessibleObject.cs (1)
59
if (owner.
AccessibleName
is { } name)
System\Windows\Forms\Controls\Buttons\RadioButton.RadioButtonAccessibleObject.cs (1)
66
if (owner.
AccessibleName
is { } name)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
2679
if (string.IsNullOrEmpty(EditingControl.
AccessibleName
))
System\Windows\Forms\Controls\Labels\Label.LabelAccessibleObject.cs (1)
29
if (owner.
AccessibleName
is { } name)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.CommandsPaneAccessibleObject.cs (1)
52
? owner.
AccessibleName
?? (_parentPropertyGrid.TryGetTarget(out PropertyGrid? target)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObject.cs (1)
96
return owner.
AccessibleName
is { } name
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (1)
89
return owner.
AccessibleName
is { } name
System\Windows\Forms\Controls\PropertyGrid\PropertyGridToolStrip.PropertyGridToolStripAccessibleObject.cs (2)
55
if (this.TryGetOwnerAs(out PropertyGridToolStrip? owner) && owner.
AccessibleName
is { } name)
68
(!this.TryGetOwnerAs(out PropertyGridToolStrip? owner) || owner.
AccessibleName
is null)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.ToolStripDropDownAccessibleObject.cs (2)
32
&& owner.
AccessibleName
is { } name ? name : owner?.OwnerItem?.AccessibilityObject.Name;
49
&& owner.
AccessibleName
is null
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
357
get => base.
AccessibleName
;
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
251
_button.AccessibleName = EditControl.
AccessibleName
;
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\ByteViewerTests.cs (1)
19
Assert.Null(control.
AccessibleName
);
System.Windows.Forms.Tests (60)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (2)
741
Assert.Equal(value, ownerControl.
AccessibleName
);
747
Assert.Equal(value, ownerControl.
AccessibleName
);
System\Windows\Forms\AxHostTests.cs (2)
32
Assert.Null(control.
AccessibleName
);
126
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ButtonBaseTests.cs (1)
23
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ButtonTests.cs (1)
24
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\CheckBoxTests.cs (1)
22
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ComboBox.ComboBoxChildEditUiaProviderTests.cs (2)
169
Assert.Equal(comboBox.
AccessibleName
, ((BSTR)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_NamePropertyId)).ToStringAndFree());
170
Assert.Equal(comboBox.
AccessibleName
, ((BSTR)accessibleObject.GetPropertyValue(UIA_PROPERTY_ID.UIA_LegacyIAccessibleNamePropertyId)).ToStringAndFree());
System\Windows\Forms\ComboBoxTests.cs (1)
24
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ContainerControlTests.cs (1)
21
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ControlTests.cs (5)
19
Assert.Null(control.
AccessibleName
);
108
Assert.Null(control.
AccessibleName
);
204
Assert.Null(control.
AccessibleName
);
300
Assert.Null(control.
AccessibleName
);
396
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ControlTests.Properties.cs (2)
145
Assert.Equal(value, control.
AccessibleName
);
150
Assert.Equal(value, control.
AccessibleName
);
System\Windows\Forms\DataGridViewTextBoxEditingControlTests.cs (1)
24
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\DateTimePickerTests.cs (1)
26
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
21
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\Design\ComponentEditorPageTests.cs (1)
20
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\FlowLayoutPanelTests.cs (1)
19
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\FormTests.cs (1)
19
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\GroupBoxTests.cs (1)
21
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\HScrollBarTests.cs (1)
19
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\LabelTests.cs (1)
20
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ListBoxTests.cs (1)
21
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ListControlTests.cs (1)
22
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ListViewTests.cs (1)
24
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\MdiClientTests.cs (1)
21
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\MenuStripTests.cs (1)
19
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\MonthCalendarTests.cs (1)
23
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\PanelTests.cs (1)
20
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\PictureBoxTests.cs (1)
24
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ProgressBarTests.cs (1)
21
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\PropertyGridTests.cs (1)
26
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\RadioButtonTests.cs (1)
22
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\RichTextBoxTests.cs (1)
31
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ScrollableControlTests.cs (1)
21
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ScrollBarTests.cs (1)
20
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\SplitterPanelTests.cs (1)
26
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\SplitterTests.cs (1)
20
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\StatusStripTests.cs (1)
19
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\TabControlTests.cs (1)
21
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\TableLayoutPanelTests.cs (1)
21
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\TabPageTests.cs (2)
24
Assert.Null(control.
AccessibleName
);
133
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
22
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ToolStripControlHostTests.cs (2)
203
Assert.Equal(value, c.
AccessibleName
);
209
Assert.Equal(value, c.
AccessibleName
);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
21
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ToolStripPanelTests.cs (1)
18
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\ToolStripTests.cs (2)
23
Assert.Null(control.
AccessibleName
);
181
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\TreeViewTests.cs (1)
20
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\UserControlTests.cs (1)
22
Assert.Null(control.
AccessibleName
);
System\Windows\Forms\VScrollBarTests.cs (1)
18
Assert.Null(control.
AccessibleName
);
TextBoxTests.cs (1)
23
Assert.Null(control.
AccessibleName
);
TrackBarTests.cs (1)
22
Assert.Null(control.
AccessibleName
);