Skip to main content
A newer version of this page is available. .

CameraControl.Device Property

Gets the video capture device currently used by the control. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

public CameraDevice Device { get; }

Property Value

Type Description
CameraDevice

A CameraDevice object that represents the video capture device currently used by the control.

Remarks

The Device property specifies the video capture device currently used by the control.

To get the list of available devices from code, use the CameraControl.GetAvailableDevices method that returns the DeviceInfo object for each device found. These objects can be assigned to the CameraControl.DeviceInfo property. When you do so, the control will automatically create a valid CameraDevice object and assign it to the Device property.

See Also