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.DeviceSettings Property

Provides access to the settings of the currently used device. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public DeviceVideoSettings DeviceSettings { get; }

#Property Value

Type Description
DeviceVideoSettings

A DeviceVideoSettings object that comprises the settings of the currently used device.

#Remarks

This property provides access to the global settings of the currently used camera device. These settings are written to the registry and thus, affect the quality of video captured in any other application that uses the same camera device.

You can change these video settings from code. For example, the code below changes the gamma and contrast settings.

Camera1.DeviceSettings.Gamma.Value = 90;
Camera1.DeviceSettings.Contrast.Value = 50;

To change video settings at runtime, end-users can use the Settings button, which is displayed in the top right corner of the control (see the CameraControl.ShowSettingsButton link).

See Also