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

Gets or sets whether the control, when displayed for the first time, automatically starts showing the video stream from the default device.

Namespace: DevExpress.XtraEditors.Camera

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public bool AutoStartDefaultDevice { get; set; }

#Property Value

Type Default Description
Boolean true

true if the control, when displayed for the first time, automatically starts showing the video stream from the default device; otherwise, false.

#Remarks

By default, when displayed onscreen for the first time, the CameraControl automatically starts showing the video stream from the first found device. Set the AutoStartDefaultDevice property to false to prevent this.

Note

This property is in effect if the CameraControl.Device property is not specified and the default device is used. Otherwise, if the CameraControl.Device property is explicitly specified, the CameraControl does not automatically start showing video, even if the AutoStartDefaultDevice property is set to true.

See Also