Skip to main content

TakePictureDialog.Showing Event

Fires when the dialog is about to be displayed. Allows you to customize the form, and specify the camera device and resolution.

Namespace: DevExpress.XtraEditors.Camera

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public event TakePictureDialogShowingEventHandler Showing

Event Data

The Showing event's data class is TakePictureDialogShowingEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
Device Gets or sets the camera device.
Form Gets the form that encapsulates the dialog.
ManualResolution Gets or sets a camera resolution that is applied when the TakePictureDialogShowingEventArgs.ResolutionMode property is set to Manual.
ResolutionMode Gets or sets the camera resolution mode.
See Also