Sweta Sinha

Sweta Sinha

  • NA
  • 51
  • 40.5k

Get the child element of stackpanel in Windows Phone 8

Feb 25 2015 2:55 AM
Hi,
 
I have programmatically added a list of images  in a stack panel,that would display after certain time interval.I have created a click event in that stack panel.I want to get the child element displayed when clicked.
 
Adding images to the stackpanel:
private void LoadImages()
{
_images.ForEach(item => this.sPanel.Children.Add(item));     //sPanel is the stackpanel,_images contains the list of images
}