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