Back to Devexpress

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

corelibraries-devexpress-dot-mvvm-dot-isavefiledialogservice-dot-showdialog-x28-system-dot-action-system-dot-componentmodel-dot-canceleventargs-system-dot-string-system-dot-string-x29.md

latest2.1 KB
Original Source

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

Shows the dialog box.

Namespace : DevExpress.Mvvm

Assembly : DevExpress.Mvvm.v25.2.dll

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

Declaration

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

Parameters

NameTypeDescription
fileOKAction<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

TypeDescription
Boolean

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

|

See Also

ISaveFileDialogService Interface

ISaveFileDialogService Members

DevExpress.Mvvm Namespace