void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((GazeTrackerUI.SettingsUI.CameraIconUC)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.GridCamera = ((System.Windows.Controls.Grid)(target)); return; case 4: this.ImageCamera = ((System.Windows.Controls.Image)(target)); return; } this._contentLoaded = true; }