17 references to View
DesignSurfaceExt (4)
DesignSurfaceExt.cs (4)
124ctrl = View as Control; 134ctrl = View as Control; 144ctrl = View as Control; 236Control ctrl = View as Control;
System.Windows.Forms.Design.Tests (11)
System\ComponentModel\Design\DesignSurfaceTests.cs (11)
32Assert.Throws<InvalidOperationException>(() => surface.View); 71Assert.Throws<InvalidOperationException>(() => surface.View); 93Assert.Same(RootComponentDesigner.View, surface.View); 115Assert.Same(RootComponentDesigner.View, surface.View); 162Assert.Same(RootComponentDesigner.View, surface.View); 337Assert.Throws<NotSupportedException>(() => surface.View); 345Assert.Throws<ObjectDisposedException>(() => surface.View); 359Assert.Same(exception, Assert.Throws<InvalidOperationException>(() => surface.View).InnerException); 381Assert.Throws<InvalidOperationException>(() => surface.View); 425Assert.Throws<InvalidOperationException>(() => surface.View); 937Assert.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);