Why i can’t found the memeber AlternationCount in a listview XAML in my Windows8 application??
Best regards
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.
To do this you could use the
ItemContainerGeneratorproperty and chain itsContainerFromItemandIndexFromContainermethods to get the index of your item and then use a converter to get a background color from the index.Note that this example doesn’t currently handle changes to the collection (i.e.
OnPropertyChangedisn’t called forIndexwhen the collection changes).