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.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
public CameraDevice Device { get; }
#Property Value
Type | Description |
---|---|
Camera |
A Camera |
#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.