Skip to main content

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

Shows the dialog box.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.2.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