First I want to say that you do not need to iterate the items in the VisualItemCreating event. This event will be fired for each item.
The proper place to style the items is the VisualItemFormatting event where you have an access to the item element. I have attached a small example that shows how you can create alternating item color functionality.
I hope this will be useful. Let me know if you have additional questions.