Skip to main content

DiagramShowingOpenImageDialogEventArgs(String, String, String, Object) Constructor

Initializes a new instance of the DiagramShowingOpenImageDialogEventArgs class with the specified settings.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

Declaration

public DiagramShowingOpenImageDialogEventArgs(
    string filter,
    string title,
    string initialDirectory,
    object imageSourceToOpen
)

Parameters

Name Type Description
filter String

The file filtering options available in the dialog. By default, All pictures (*.jpg;*.jpeg;*.bmp;*.png;*.gif)|*.jpg;*.jpeg;*.bmp;*.png;*.gif|JPEG Fileinterchange Format (*.jpg;*.jpeg)|*.jpg;*.jpeg|Windows Bitmap (*.bmp)|*.bmp|Portable Network Graphics (*.png)|*.png|Graphics Interchange Format (*.gif)|*.gif

title String

A string value that is the title of the dialog.

initialDirectory String

A string value that is the path to the directory displayed by the dialog.

imageSourceToOpen Object

The object from which to automatically load the image. It can be a string value specifying the file full path, a Uri object, a stream or an array of bytes.

Remarks

Instances of the DiagramShowingOpenImageDialogEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also