public HighContrastSimplifiedImage(HCIMAGEPROPERTIES imageProperties) { BorderColor = new HighContrastColor((HIGHCONTRASTCOLOR)imageProperties.BorderColor); BackgroundColor = new HighContrastColor((HIGHCONTRASTCOLOR)imageProperties.BackgroundColor); }
private static int CompareValue(HighContrastColor oldValue, HighContrastColor newValue) { return(oldValue.Index.CompareTo(newValue.Index)); }