How can I bind source MediaCapture to CaptureElement using Caliburn.Micro?

后端 未结 4 1466
梦谈多话
梦谈多话 2021-02-10 22:03

On Windows Phone 8.1, I am using the Caliburn.Micro view-model-first approach, but as the view model cannot have any knowledge of the view, I cannot see how I can bind a MediaCa

4条回答
  •  星月不相逢
    2021-02-10 22:30

    I used ContentControl and bound to CaptureElement and It works for me but only the first time. If I navigate to another page and I come back to camera's page I can't see camera preview. I don't call method as StopPreviewAsync() I only navigate to another page.

提交回复
热议问题