Пример #1
0
 private void selectColor(SelectableColorViewModel color)
 {
     foreach (var selectableColor in SelectableColors)
     {
         selectableColor.Selected = color.Color.ARGB == selectableColor.Color.ARGB;
     }
 }
Пример #2
0
        private void selectColor(SelectableColorViewModel color)
        {
            foreach (var selectableColor in SelectableColors)
            {
                selectableColor.Selected = color.Color.ARGB == selectableColor.Color.ARGB;
            }

            if (AllowCustomColors)
            {
                return;
            }
            save();
        }