// If it's an AlternatingItem type or it's an Item type
if(e.Item.ItemType == ListItemType.AlternatingItem || e.Item.ItemType == ListItemType.Item) {
// Create a new label
// No need to initialize it with the 'new' keyword
// since we'll set it's value shortly...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.