Video : Find which Panorma Item is selected in Windows Phone


Source Code

public partial class MainPage : PhoneApplicationPage
// Constructor
public MainPage()

myPanorma.SelectionChanged += new EventHandler<SelectionChangedEventArgs>(myPanorma_SelectionChanged);

void myPanorma_SelectionChanged(object sender, SelectionChangedEventArgs e)
if (myPanorma.SelectedIndex == 0)
MessageBox.Show("first item is selected");
if (myPanorma.SelectedIndex == 1)
MessageBox.Show("second item is selected");


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at