uwpscrollviewmiracast

uwp c# Zoom Image without scrollview


I test the scenario 3 of the BasicMediaCasting sample. I share my image with:

await connection.RequestStartCastingAsync(img.GetAsCastingSource());

Now my question is:

Can I share a scrollView with the MiraCast?

Or can I zoom my image without scrollview?


Solution

  • Unfortunately no, only MediaPlayer, Image and MediaElement have the required GetAsCastingSource method, so you cannot create a casting source from a ScrollView. I understand that you would like to enable the user to zoom the picture while it is casted, but I think this is not possible unless the target device has this functionality by itself.