Back to Devexpress

CameraControl.GetDefaultDevice() Method

windowsforms-devexpress-dot-xtraeditors-dot-camera-dot-cameracontrol-4cb3ed84.md

latest1.8 KB
Original Source

CameraControl.GetDefaultDevice() Method

Returns the video capture device used by default.

Namespace : DevExpress.XtraEditors.Camera

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public static CameraDevice GetDefaultDevice()
vb
Public Shared Function GetDefaultDevice As CameraDevice

Returns

TypeDescription
CameraDevice

A CameraDevice object that the control uses by default.

|

Remarks

The GetDefaultDevice method returns the first device in the list of available video capture devices (see CameraControl.GetDevices). If the CameraControl.Device property is not explicitly specified, the CameraControl uses this device by default.

See Also

GetDevices()

AutoStartDefaultDevice

CameraControl Class

CameraControl Members

DevExpress.XtraEditors.Camera Namespace