Skip to main content

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

Shows the dialog box.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.1.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation

Declaration

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

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.

fileName String

A System.String object that specifies the file name.

Returns

Type Description
Boolean

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

See Also