CaptureElement.Source property

Applies to Windows and Windows Phone

Gets or sets the source MediaCapture that this CaptureElement represents.

Syntax


public MediaCapture Source { get; set; }

Property value

Type: MediaCapture

The source MediaCapture

Remarks

This property should not be set in XAML, because XAML represents initial state, and there is no good way to reference a MediaCapture through XAML resources. Initializing a MediaCapture is typically done by async operations or only when a capture is about to begin.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

CaptureElement

 

 

Show:
© 2014 Microsoft