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