DiagramShowingOpenDialogEventArgs(String, String, String, Object) Constructor
Initializes a new instance of the DiagramShowingOpenDialogEventArgs class with the specified settings.
Namespace: DevExpress.XtraDiagram
Assembly: DevExpress.XtraDiagram.v24.2.dll
NuGet Package: DevExpress.Win.Diagram
#Declaration
public DiagramShowingOpenDialogEventArgs(
string filter,
string title,
string initialDirectory,
object documentSourceToOpen
)
#Parameters
Name | Type | Description |
---|---|---|
filter | String | The file filtering options available in the dialog. By default, Xml files (*. |
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. |
document |
Object | The object from which to automatically load the diagram. It can be a string value specifying the file full path, a Uri object, a stream or an array of bytes. |
#Remarks
If the documentSourceToOpen parameter is set, a diagram will be automatically loaded from the specified source; the default dialog will not be invoked.
Instances of the DiagramShowingOpenDialogEventArgs class are automatically created, initialized and passed to the corresponding event handlers.