CameraPreview Class 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Camera Control to preview video. Can subscribe to video frames, software bitmap when they arrive.
[Windows.UI.Xaml.TemplatePart(Name="MediaPlayerElementControl", Type=typeof(Windows.UI.Xaml.Controls.MediaPlayerElement))]
[Windows.UI.Xaml.TemplatePart(Name="FrameSourceGroupButton", Type=typeof(Windows.UI.Xaml.Controls.Button))]
public class CameraPreview : Windows.UI.Xaml.Controls.Control[<Windows.UI.Xaml.TemplatePart(Name="MediaPlayerElementControl", Type=typeof(Windows.UI.Xaml.Controls.MediaPlayerElement))>]
[<Windows.UI.Xaml.TemplatePart(Name="FrameSourceGroupButton", Type=typeof(Windows.UI.Xaml.Controls.Button))>]
type CameraPreview = class
    inherit ControlPublic Class CameraPreview
Inherits Control- Inheritance
- 
				Windows.UI.Xaml.Controls.ControlCameraPreview
- Attributes
- 
			Windows.UI.Xaml.TemplatePartAttribute
Constructors
| CameraPreview() | Initializes a new instance of the CameraPreview class. | 
Fields
| IsFrameSourceGroupButtonVisibleProperty | Using a DependencyProperty as the backing store for IsFrameSourceGroupButtonVisible. This enables animation, styling, binding, etc... | 
Properties
| CameraHelper | Gets Camera Helper | 
| IsFrameSourceGroupButtonVisible | Gets or sets a value indicating whether Frame Source Group Button is visible or not | 
Methods
| OnApplyTemplate() | Windows.UI.Xaml.Controls.Control.OnApplyTemplate | 
| StartAsync() | Initialize control with a default CameraHelper instance for video preview and frame capture. | 
| StartAsync(CameraHelper) | Initialize control with a CameraHelper instance for video preview and frame capture. | 
| Stop() | Stops preview. | 
Events
| PreviewFailed | Event raised when camera preview fails. |