[]
        
(Showing Draft Content)

C1.Win.Editor.C1Editor.LoadDocumentRequestAsync

LoadDocumentRequestAsync Method

LoadDocumentRequestAsync(string, bool)

Runs the file dialog and loads the selected document asynchronously.

Declaration
public Task LoadDocumentRequestAsync(string defaultFolder = "", bool restoreFolder = false)
Parameters
Type Name Description
string defaultFolder

Specifies the initial folder for the file dialog. The default value is the current folder.

bool restoreFolder

Specifies whether the original current folder should be restored after the dialog completes. The default value is false.

Returns
Type Description
Task