2 writes to EditControl
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (2)
138
EditControl
= _readOnlyTextBoxLabel;
146
EditControl
= _textBox;
15 references to EditControl
System.Windows.Forms.Design (15)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (3)
242
EditControl
.AccessibleRole = _button.Ellipsis
250
_button.AccessibleDescription =
EditControl
.AccessibleDescription;
251
_button.AccessibleName =
EditControl
.AccessibleName;
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (12)
73
EditControl
!.Focus();
112
int specialPadding =
EditControl
is TextBox ? 2 : 0;
114
EditControl
!.Location = new Point(_editRegionLocation.X + GetTextBoxLeftPadding(textBoxPreferredHeight) + 1 + specialPadding, _editRegionLocation.Y + TextBoxLineInnerPadding + 1);
115
EditControl
.Width = _editRegionSize.Width - GetTextBoxRightPadding(textBoxPreferredHeight) - GetTextBoxLeftPadding(textBoxPreferredHeight) - specialPadding;
116
EditControl
.Height = _editRegionSize.Height - TextBoxLineInnerPadding * 2 - 1;
124
[MemberNotNull(nameof(
EditControl
))]
149
EditControl
.AccessibleDescription = PropertyItem.Description;
150
EditControl
.AccessibleName = StripAmpersands(PropertyItem.DisplayName);
151
EditControl
.TabIndex = currentTabIndex++;
152
EditControl
.BringToFront();
286
protected override void OnValueChanged() =>
EditControl
!.Text = PropertyDescriptor.Converter.ConvertToString(TypeDescriptorContext, Value);
312
SetValue(
EditControl
!.Text);