Skip to main content

IDialogService.ShowDialog(IEnumerable<UICommand>, String, String, Object, Object, Object) Method

Shows a dialog window with specified parameters.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.1.dll

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

Declaration

[Browsable(false)]
UICommand ShowDialog(
    IEnumerable<UICommand> dialogCommands,
    string title,
    string documentType,
    object viewModel,
    object parameter,
    object parentViewModel
)

Parameters

Name Type Description
dialogCommands IEnumerable<UICommand>

A list of UICommand objects that are used to generate dialog buttons.

title String

A dialog window caption.

documentType String

A String value that specifies the name of a document type to be shown in the dialog window.

viewModel Object

An object that is the view model to be passed to the data context of the dialog view.

parameter Object

A parameter for passing data to the passed view model.

parentViewModel Object

The parent View model for building a parent-child view model relationship.

Returns

Type Description
UICommand

An object of the UICommand type that is the command corresponding to the button the end-user clicked.

See Also