CaptureElement
CaptureElement is basically the capture equivalent of MediaElement. MediaElement contains all the plumbing necessary for playback, and the same could be said about CaptureElement for capture. It is a UIElement with only two properties (excluding ones inherited from its FrameworkElement base class): Source and Stretch. Like MediaElement, Stretch is Uniform by default. Unlike MediaElement, but like every other element with a Stretch property, its content does not get centered when you choose UniformToFill.
CaptureElement’s Source property is of type MediaCapture, a Windows Runtime class that does all the hard work. It enables you to capture videos, photos, as well as two options lacking from CameraCaptureUI: video-only recordings ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access