how to use panorama item selectionchanged

前端 未结 6 1771
情书的邮戳
情书的邮戳 2021-01-28 03:16

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

6条回答
  •  时光说笑
    2021-01-28 03:36

    The panoramaItemSelectionChanged string value used in the switch statement should be the following:

    string currentPanoramaItem = ((PanoramaItem)(((Panorama)sender).SelectedItem)).Header.ToString();
    

提交回复
热议问题