void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((WPF_Roots.ComboWithCheckboxes)(target)); return; case 2: this.CheckableCombo = ((System.Windows.Controls.ComboBox)(target)); return; } this._contentLoaded = true; }