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.v24.2.dll
NuGet Package: DevExpress.Wpf.Diagram
#Declaration
public DiagramShowingOpenImageDialogEventArgs(
DiagramControl source,
string filter,
string title,
string initialDirectory,
object imageSourceToOpen
)
#Parameters
Name | Type | Description |
---|---|---|
source | Diagram |
The Diagram |
filter | String | The file filtering options available in the dialog. By default, All pictures (*. |
title | String | A string value that is the title of the dialog. |
initial |
String | A string value that is the path to the directory displayed by the dialog. |
image |
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.