18 references to View
DesignSurface (1)
MainForm.cs (1)
48((Control)(designSurfaceExtended as DesignSurface).View).KeyUp += (s, e) =>
DesignSurfaceExt (4)
DesignSurfaceExt.cs (4)
117ctrl = View as Control; 127ctrl = View as Control; 137ctrl = View as Control; 231Control 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)
83Control rootView = (Control)designSurface.View; 101await InitiateDrangDropAsync(form, dndStartCoordinates, (Control)designSurface.View);