All docs
V21.2
21.2
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

TakePictureDialog.Closed Event

Fires when the dialog is closed. Allows you to get the dialog result and captured image, and replace this image.

Namespace: DevExpress.XtraEditors.Camera

Assembly: DevExpress.XtraEditors.v21.2.dll

Declaration

public event TakePictureDialogClosedEventHandler Closed

Event Data

The Closed event's data class is DevExpress.XtraEditors.Camera.TakePictureDialogClosedEventArgs.

Remarks

The event’s arguments allow you to retrieve the dialog’s result (the Result event parameter) and the captured image (the Snapshot parameter).

You can assign a custom image to the Snapshot parameter to replace the captured image.

If no picture was taken in the dialog, the Result event parameter returns Cancel, and the Snapshot parameter contains null. In this case, the modified Snapshot parameter is ignored.

See Also