Skip to main content
A newer version of this page is available.
All docs
V19.1

IOpenFileDialogService.ShowDialog(Action<CancelEventArgs>, String) Method

Shows the dialog box.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v19.1.dll

Declaration

bool ShowDialog(
    Action<CancelEventArgs> fileOK,
    string directoryName
)

Parameters

Name Type Description
fileOK Action<CancelEventArgs>

A System.Action object that allows you to cancel file selection.

directoryName String

A System.String object that specifies the initial directory.

Returns

Type Description
Boolean

true, if the user clicks OK in the dialog box; otherwise, false.

See Also