public static object ValidateCustomStyle(string styleName, object styleValue, IErrorContext errorContext) { return(ProcessingValidator.ValidateCustomStyle(styleName, styleValue, ObjectType.Image, errorContext)); }