Beispiel #1
0
        async void ShowProperties(object para)
        {
            Mediafile file = null;

            if (para is Mediafile)
            {
                file = para as Mediafile;
            }
            else
            {
                file = Player.CurrentlyPlayingFile;
            }
            BreadPlayer.Dialogs.TagDialog tag = new BreadPlayer.Dialogs.TagDialog(file);
            if (CoreWindow.GetForCurrentThread().Bounds.Width >= 501)
            {
                tag.MaxWidth = CoreWindow.GetForCurrentThread().Bounds.Width - 10;
            }
            await tag.ShowAsync();
        }
 async void ShowProperties(object para)
 {
     BreadPlayer.Dialogs.TagDialog tag = new BreadPlayer.Dialogs.TagDialog(para as Mediafile);
     await tag.ShowAsync();
 }