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