The gene responsible for white in boxers is not a color gene but a marking gene, which means that a whiteboxer would be fawn or brindle if the white was not present.
The only means of prevention of this disease in the skin and eyelids is to avoid sun exposure in dogs with thin / fair hair and pale / pink skin (white pit bulls, whiteboxers, whippets, etc.).