17 references to View
DesignSurfaceExt (4)
DesignSurfaceExt.cs (4)
117ctrl = View as Control; 127ctrl = View as Control; 137ctrl = View as Control; 229Control ctrl = View as Control;
System.Windows.Forms.Design.Tests (11)
System\ComponentModel\Design\DesignSurfaceTests.cs (11)
34Assert.Throws<InvalidOperationException>(() => surface.View); 73Assert.Throws<InvalidOperationException>(() => surface.View); 95Assert.Same(RootComponentDesigner.View, surface.View); 117Assert.Same(RootComponentDesigner.View, surface.View); 164Assert.Same(RootComponentDesigner.View, surface.View); 339Assert.Throws<NotSupportedException>(() => surface.View); 347Assert.Throws<ObjectDisposedException>(() => surface.View); 361Assert.Same(exception, Assert.Throws<InvalidOperationException>(() => surface.View).InnerException); 383Assert.Throws<InvalidOperationException>(() => surface.View); 427Assert.Throws<InvalidOperationException>(() => surface.View); 939Assert.Same(RootComponentDesigner.View, surface.View);
System.Windows.Forms.UI.IntegrationTests (2)
DesignBehaviorsTests.cs (2)
84Control rootView = (Control)designSurface.View; 102await InitiateDrangDropAsync(form, dndStartCoordinates, (Control)designSurface.View);