Hi I am New to Window phone 7, I have a Problem for Applying style to alternate row color in listbox in Window phone 7. Please Help Me.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
While WPF has an
ALternationCountproperty that supports this, Silverlight, both the web version and WP7, do not. The easiest way to create this effect in Silverlight is to set the bacground colour of your item via a value converter. See the following thread:Alternating background colors for ListBox rows