16 overrides of Value
System.Windows.Forms (13)
System\Windows\Forms\Controls\DataGridView\DataGridView.SelectedCellsAccessibleObject.cs (1)
29public override string Value => Name;
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (1)
94public override string Value => Name;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
182public override string? Value
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (1)
209public override string Value
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewSelectedRowCellsAccessibleObject.cs (1)
33public override string Value => Name;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (1)
46public override string Value
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (1)
158public override string Value => string.Empty;
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedListBoxItemAccessibleObject.cs (1)
131public override string Value => IsItemChecked.ToString();
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (1)
568public override string? Value
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
141public override string? Value
System\Windows\Forms\Controls\TextBox\TextBoxBase.TextBoxBaseAccessibleObject.cs (1)
70public override string? Value => this.TryGetOwnerAs(out TextBoxBase? owner) && !owner.PasswordProtect ? ValueInternal : SR.AccessDenied;
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (1)
269public override string? Value => _owningTreeNode.Text;
System\Windows\Forms\Controls\UpDown\DomainUpDown.DomainItemAccessibleObject.cs (1)
41public override string? Value => _name;
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
356public override string? Value => Owner?.Text;
System\Drawing\Design\ColorEditor.ColorPalette.ColorPaletteAccessibleObject.ColorCellAccessibleObject.cs (1)
67public override string Value => _color.ToString();
System\Windows\Forms\Design\ControlDesigner.ControlDesignerAccessibleObject.cs (1)
63public override string? Value => _control.AccessibilityObject.Value;
15 writes to Value
System.Windows.Forms (3)
System\Windows\Forms\Accessibility\AccessibleObject.cs (3)
816Value = newValue; 2490Value = szValue.ToString(); 2504child.Value = szValue.ToString();
System.Windows.Forms.Tests (12)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (2)
54Value = value 59accessibleObject.Value = value;
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (4)
839Value = value 844accessibleObject.Value = value; 856Value = value 861accessibleObject.Value = value;
System\Windows\Forms\AccessibleObjects\ProgressBarAccessibleObjectTests.cs (2)
87accessibilityObject.Value = value; 92accessibilityObject.Value = value;
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (4)
90accessibilityObject.Value = value; 96accessibilityObject.Value = value; 116Assert.Throws<COMException>(() => accessibilityObject.Value = value); 133accessibilityObject.Value = value;
64 references to Value
System.Windows.Forms (13)
System\Windows\Forms\Accessibility\AccessibleObject.cs (9)
347/// Determines if <see cref="GetValueInternal"/> can be called without calling <see cref="Value"/> 359/// Determines if <see cref="SetValueInternal(BSTR)"/> can be called without calling <see cref="Value"/> 646UIA_PROPERTY_ID.UIA_ValueValuePropertyId => !string.IsNullOrEmpty(Value) ? (VARIANT)Value : VARIANT.Empty, 1208: new(Value); 1381*pRetVal = Value is null ? default : new(Value); 2414: new(Value); 2424: new(child.Value);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (1)
235sb.Append(cellAccObj.Value);
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1149string? value = AccessibilityObject.Value;
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (1)
50string? baseValue = base.Value;
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.MonthCalendarAccessibleObject.cs (1)
610return base.Value;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.ControlDesignerAccessibleObject.cs (1)
63public override string? Value => _control.AccessibilityObject.Value;
System.Windows.Forms.Tests (50)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (24)
30Assert.Empty(accessibleObject.Value); 56Assert.Empty(accessibleObject.Value); 60Assert.Empty(accessibleObject.Value); 625Assert.Empty(accessibleObject.Value); 644Assert.Null(accessibleObject.Value); 665Assert.Null(accessibleObject.Value); 691Assert.Empty(accessibleObject.Value); 710Assert.Empty(accessibleObject.Value); 729Assert.Null(accessibleObject.Value); 748Assert.Null(accessibleObject.Value); 769Assert.Empty(accessibleObject.Value); 790Assert.Null(accessibleObject.Value); 811Assert.Null(accessibleObject.Value); 2339.Setup(a => a.Value) 2347mockAccessibleObject.Verify(a => a.Value, Times.Once()); 2361.Setup(a => a.Value) 2369.Setup(a => a.Value) 2395mockAccessibleObjectChild1.Verify(a => a.Value, Times.Exactly(child1CallCount)); 2396mockAccessibleObjectChild2.Verify(a => a.Value, Times.Exactly(child2CallCount)); 2538Assert.Empty(accessibleObject.Value); 2570Assert.Empty(childAccessibleObject1.Value); 2571Assert.Empty(childAccessibleObject2.Value); 2603Assert.Empty(childAccessibleObject1.Value); 2604Assert.Empty(childAccessibleObject2.Value);
System\Windows\Forms\AccessibleObjects\CheckedListBoxItemAccessibleObjectTests.cs (1)
215Assert.Equal(isChecked.ToString(), checkedListBox.AccessibilityObject.GetChild(0).Value);
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (6)
68Assert.Equal(string.Empty, accessibleObject.Value); 103Assert.Null(accessibleObject.Value); 841Assert.Null(accessibleObject.Value); 845Assert.Null(accessibleObject.Value); 858Assert.Equal(string.Empty, accessibleObject.Value); 862Assert.Equal(string.Empty, accessibleObject.Value);
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (2)
358Assert.Equal(expected, accessibleObject.Value); 365Assert.Throws<InvalidOperationException>(() => accessibleObject.Value);
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (3)
230Assert.Equal(expected, accessibleObject.Value); 237Assert.Throws<InvalidOperationException>(() => accessibleObject.Value); 318Assert.Equal("Selected Row Cells", selectedAccessibleObject.Value);
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedCellsAccessibleObjectTests.cs (1)
39Assert.Equal(SR.DataGridView_AccSelectedCellsName, accessibleObject.Value);
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedRowCellsAccessibleObjectTests.cs (1)
39Assert.Equal(SR.DataGridView_AccSelectedRowCellsName, accessibleObject.Value);
System\Windows\Forms\AccessibleObjects\DataGridViewTopLeftHeaderCellAccessibleObjectTests.cs (1)
85Assert.Equal(string.Empty, cell.AccessibilityObject.Value);
System\Windows\Forms\AccessibleObjects\ProgressBarAccessibleObjectTests.cs (4)
34Assert.Equal("5%", accessibilityObject.Value); 59Assert.Equal(string.Empty, accessibilityObject.Value); 88Assert.Equal(expectedValue, accessibilityObject.Value); 93Assert.Equal(expectedValue, accessibilityObject.Value);
System\Windows\Forms\AccessibleObjects\TextBoxBaseAccessibleObjectTests.cs (1)
96Assert.Equal(textBoxBase.Text, accessibleObject.Value);
System\Windows\Forms\AccessibleObjects\TrackBar.TrackBarAccessibleObjectTests.cs (6)
37Assert.Equal("50", accessibilityObject.Value); 60Assert.Equal(string.Empty, accessibilityObject.Value); 92Assert.Equal(expectedValueString, accessibilityObject.Value); 98Assert.Equal(expectedValueString, accessibilityObject.Value); 117Assert.Equal("50", accessibilityObject.Value); 135Assert.Equal(string.Empty, accessibilityObject.Value);