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
}