Back to Devexpress

TakePictureDialog.Device Property

windowsforms-devexpress-dot-xtraeditors-dot-camera-dot-takepicturedialog.md

latest1.8 KB
Original Source

TakePictureDialog.Device Property

Gets or sets the camera device.

Namespace : DevExpress.XtraEditors.Camera

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public CameraDevice Device { get; set; }
vb
Public Property Device As CameraDevice

Property Value

TypeDescription
CameraDevice

The camera device.

|

Remarks

The Take Picture dialog saves the selected camera device and its resolution in the system registry when a user closes the dialog. These settings are applied the next time a user opens the dialog.

The dialog uses the default camera device if the registry contains no information on the previous camera device.

You can use the TakePictureDialog.Device property to assign a specific camera device (see CameraControl.GetDevices).

See Also

Device

ResolutionMode

TakePictureDialog Class

TakePictureDialog Members

DevExpress.XtraEditors.Camera Namespace