private async void CustomMediaTransportControls_InfoTap(object sender, EventArgs e) { var frameRate = await videoFile.Properties.RetrievePropertiesAsync(new string[] { "System.Video.FrameRate" }); var width = await videoFile.Properties.RetrievePropertiesAsync(new string[] { "System.Video.FrameWidth" }); var height = await videoFile.Properties.RetrievePropertiesAsync(new string[] { "System.Video.FrameHeight" }); ContentDialog dialog = new VideoInfoDialog(frameRate, width, height); await dialog.ShowAsync(); }
private async void MenuFlyoutItem_Click_2(object sender, RoutedEventArgs e) { var frameRate = await recordedVideoFile.Properties.RetrievePropertiesAsync(new string[] { "System.Video.FrameRate" }); var width = await recordedVideoFile.Properties.RetrievePropertiesAsync(new string[] { "System.Video.FrameWidth" }); var height = await recordedVideoFile.Properties.RetrievePropertiesAsync(new string[] { "System.Video.FrameHeight" }); ContentDialog dialog = new VideoInfoDialog(frameRate, width, height); await dialog.ShowAsync(); }