private void RefreshValue(DisablablePairColorElementViewModel vm, DisablablePairColorElement ce)
 {
     vm.LightViewModel.CPBViewModel.CurrentColor = ce.GetLightColor();
     vm.DarkViewModel.CPBViewModel.CurrentColor  = ce.GetDarkColor();
 }
 public DisablablePairColorElementViewModel(string description, DisablablePairColorElement pelem)
 {
     this._description    = description;
     this._lightViewModel = new DisablableColorElementViewModel(description, pelem.LightColor);
     this._darkViewModel  = new DisablableColorElementViewModel(description, pelem.DarkColor);
 }
 private IApplyable Wrap(DisablablePairColorElement elem, string desc)
 {
     return(new DisablablePairColorElementViewModel(desc, elem));
 }