Change background color on mandatory fields

I'm not sure how exactly you want to mark this? Are you referring to setting the background color of edit controls where values are mandatory? If so, the edit control .Color property should allow you to do this.