Though the cause of Ulcerative colitis is not understood completely, doctors are sure food is not a cause of the disease. However, the foods people choose to eat seem to have an impact on the episodes of ulcerative colitis flares. Some foods are generally good to eat, while others may need to be avoided. Not all people will respond the same way to a food, so diets will vary.
http://www.appleofhealth.com/ulcerative-colitis-diet/