windowsforms-devexpress-dot-xtraeditors-dot-camera-dot-cameracontrol.md
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.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(true)]
[DXCategory("Behavior")]
public bool AutoStartDefaultDevice { get; set; }
<DefaultValue(True)>
<DXCategory("Behavior")>
Public Property AutoStartDefaultDevice As Boolean
| 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.
|
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