Back to Devexpress

CameraControl.Device Property

windowsforms-devexpress-dot-xtraeditors-dot-camera-dot-cameracontrol-a93e41ea.md

latest1.8 KB
Original Source

CameraControl.Device Property

Gets or sets the video capture device currently used by the control.

Namespace : DevExpress.XtraEditors.Camera

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
public CameraDevice Device { get; set; }
vb
<Browsable(False)>
Public Property Device As CameraDevice

Property Value

TypeDescription
CameraDevice

A CameraDevice object that describes 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 video capture devices, call the CameraControl.GetDevices method.

After the device is changed, the CameraControl.DeviceChanged event is fired.

See Also

DeviceChanged

GetDevices()

CameraControl Class

CameraControl Members

DevExpress.XtraEditors.Camera Namespace