Back to Devexpress

CameraControl.Device Property

wpf-devexpress-dot-xpf-dot-editors-dot-cameracontrol-1a1bf5d3.md

latest1.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
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.

See Also

GetAvailableDevices()

DeviceInfo

CameraControl Class

CameraControl Members

DevExpress.Xpf.Editors Namespace