1 write to _toolStripEditorControl
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ToolStripEditorManagerTests.cs (1)
54
_toolStripEditorControl
= _constructor.Invoke([_editorControl, _bounds]);
10 references to _toolStripEditorControl
System.Windows.Forms.Design.Tests (10)
System\Windows\Forms\Design\ToolStripEditorManagerTests.cs (10)
100
_editorManager.TestAccessor().Dynamic._editor =
_toolStripEditorControl
;
106
_behaviorService.AdornerWindowControl.Controls.Cast<Control>().Should().NotContain((Control)
_toolStripEditorControl
);
167
_editorManager.TestAccessor().Dynamic._editor =
_toolStripEditorControl
;
178
VerifyProperty("Bounds1",
_toolStripEditorControl
, _bounds);
179
VerifyProperty(nameof(Location),
_toolStripEditorControl
, new Point(_bounds.X, _bounds.Y));
180
VerifyProperty(nameof(Text),
_toolStripEditorControl
, "InSituEditorWrapper");
181
VerifyProperty(nameof(Size),
_toolStripEditorControl
, new Size(_editorControl.Size.Width, _editorControl.Size.Height));
182
_toolStripEditorControlType?.GetProperty("Controls")?.GetValue(
_toolStripEditorControl
).Should().BeOfType<Control.ControlCollection>();
201
boundsProperty.SetValue(
_toolStripEditorControl
, newBounds);
202
Rectangle? actualBounds = boundsProperty.GetValue(
_toolStripEditorControl
) as Rectangle?;