/// <summary> /// /// </summary> public ColorPicker() { InitializeComponent(); Models = new ColorSpaceCollection(); Models.ItemAdded += OnColorSpaceAdded; DefaultModels.ForEach(i => Models.Add(i)); Models.WhereFirst(x => x is HsbModel).Components[typeof(HsbModel.HComponent)].As <SelectableComponentModel>().IsSelected = true; }