DiagramShowingOpenImageDialogEventArgs(DiagramControl, String, String, String, Object) Constructor
Initializes a new instance of the DiagramShowingOpenImageDialogEventArgs class with the specified settings.
Namespace: DevExpress.Xpf.Diagram
Assembly: DevExpress.Xpf.Diagram.v25.1.dll
NuGet Package: DevExpress.Wpf.Diagram
Declaration
public DiagramShowingOpenImageDialogEventArgs(
DiagramControl source,
string filter,
string title,
string initialDirectory,
object imageSourceToOpen
)
Parameters
| Name | Type | Description |
|---|---|---|
| source | DiagramControl | The DiagramControl that raised the event. |
| 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.