Back to Devexpress

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

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

latest1.8 KB
Original Source

IOpenDialogServiceBase.ShowDialog(Action<CancelEventArgs>, 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
)
vb
Function ShowDialog(
    fileOK As Action(Of CancelEventArgs),
    directoryName 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.

|

Returns

TypeDescription
Boolean

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

|

See Also

IOpenDialogServiceBase Interface

IOpenDialogServiceBase Members

DevExpress.Mvvm Namespace