17 references to View
DesignSurfaceExt (4)
DesignSurfaceExt.cs (4)
124
ctrl =
View
as Control;
134
ctrl =
View
as Control;
144
ctrl =
View
as Control;
236
Control ctrl =
View
as Control;
System.Windows.Forms.Design.Tests (11)
System\ComponentModel\Design\DesignSurfaceTests.cs (11)
32
Assert.Throws<InvalidOperationException>(() => surface.
View
);
71
Assert.Throws<InvalidOperationException>(() => surface.
View
);
93
Assert.Same(RootComponentDesigner.View, surface.
View
);
115
Assert.Same(RootComponentDesigner.View, surface.
View
);
162
Assert.Same(RootComponentDesigner.View, surface.
View
);
337
Assert.Throws<NotSupportedException>(() => surface.
View
);
345
Assert.Throws<ObjectDisposedException>(() => surface.
View
);
359
Assert.Same(exception, Assert.Throws<InvalidOperationException>(() => surface.
View
).InnerException);
381
Assert.Throws<InvalidOperationException>(() => surface.
View
);
425
Assert.Throws<InvalidOperationException>(() => surface.
View
);
937
Assert.Same(RootComponentDesigner.View, surface.
View
);
System.Windows.Forms.UI.IntegrationTests (2)
DesignBehaviorsTests.cs (2)
84
Control rootView = (Control)designSurface.
View
;
102
await InitiateDrangDropAsync(form, dndStartCoordinates, (Control)designSurface.
View
);