void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.view1 = ((HelixToolkit.SharpDX.Wpf.Viewport3DX)(target)); return; case 2: this.shadowMap = ((HelixToolkit.SharpDX.Wpf.ShadowMap3D)(target)); return; case 3: this.model1 = ((HelixToolkit.SharpDX.Wpf.MeshGeometryModel3D)(target)); return; case 4: this.model2 = ((HelixToolkit.SharpDX.Wpf.MeshGeometryModel3D)(target)); return; case 5: this.model3 = ((HelixToolkit.SharpDX.Wpf.MeshGeometryModel3D)(target)); return; case 6: this.plane = ((HelixToolkit.SharpDX.Wpf.MeshGeometryModel3D)(target)); return; case 7: this.lines = ((HelixToolkit.SharpDX.Wpf.LineGeometryModel3D)(target)); return; case 8: this.grid = ((HelixToolkit.SharpDX.Wpf.LineGeometryModel3D)(target)); return; case 9: this.shadingPanel = ((System.Windows.Controls.Expander)(target)); return; case 10: this.sliderInt = ((System.Windows.Controls.Slider)(target)); return; case 11: this.sliderPcf = ((System.Windows.Controls.Slider)(target)); return; case 12: this.sliderBias = ((System.Windows.Controls.Slider)(target)); return; } this._contentLoaded = true; }