Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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