I am attempting to detect the current panorama item that a user is currently on and then toggle an application bar icon button isenabled property accordingly. I have not had any
there is alternative to switch case.... you can use
private void PanoramaItemSelectionChanged(object sender, SelectionChangedEventArgs e)
{
if (panoramacontrol.selecteditem == xyzpanorama)
{
//....................//
}
}
where
not to be confused with header as header and name may be different.