Skip to main content
All docs
V25.1
  • IOpenDialogServiceBase.ShowDialog(Action<CancelEventArgs>, String) Method

    Shows the dialog box.

    Namespace: DevExpress.Mvvm

    Assembly: DevExpress.Mvvm.v25.1.dll

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

    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