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.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
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.