示例#1
0
 /// <summary>
 /// Enables or disables the CMYK color space depending on the selected
 /// file type.
 /// </summary>
 private void UpdateCmykEnabledState()
 {
     ColorSpace.GetViewModel(Models.ColorSpace.Cmyk).IsEnabled =
         ColorProfiles.HasProfilesForColorSpace(Models.ColorSpace.Cmyk) &&
         _preset.FileType.SupportsCmyk();
 }