17 references to View
DesignSurfaceExt (4)
DesignSurfaceExt.cs (4)
117
ctrl =
View
as Control;
127
ctrl =
View
as Control;
137
ctrl =
View
as Control;
229
Control ctrl =
View
as Control;
System.Windows.Forms.Design.Tests (11)
System\ComponentModel\Design\DesignSurfaceTests.cs (11)
34
Assert.Throws<InvalidOperationException>(() => surface.
View
);
73
Assert.Throws<InvalidOperationException>(() => surface.
View
);
95
Assert.Same(RootComponentDesigner.View, surface.
View
);
117
Assert.Same(RootComponentDesigner.View, surface.
View
);
164
Assert.Same(RootComponentDesigner.View, surface.
View
);
339
Assert.Throws<NotSupportedException>(() => surface.
View
);
347
Assert.Throws<ObjectDisposedException>(() => surface.
View
);
361
Assert.Same(exception, Assert.Throws<InvalidOperationException>(() => surface.
View
).InnerException);
383
Assert.Throws<InvalidOperationException>(() => surface.
View
);
427
Assert.Throws<InvalidOperationException>(() => surface.
View
);
939
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
);