Ejemplo n.º 1
0
        /// <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;
        }