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

Shows the dialog box.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v19.2.dll

Declaration

bool ShowDialog(
    Action<CancelEventArgs> fileOK,
    string directoryName
)
Function ShowDialog(
    fileOK As Action(Of CancelEventArgs),
    directoryName As String
) As Boolean

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