Skip to main content
All docs
V26.1
  • IWindowService.Show(String, Object, Object, Object) Method

    Shows a window with specified View and ViewModel.

    Namespace: DevExpress.Mvvm

    Assembly: DevExpress.Mvvm.v26.1.dll

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

    Declaration

    [Browsable(false)]
    void Show(
        string documentType,
        object viewModel,
        object parameter,
        object parentViewModel
    )

    Parameters

    Name Type Description
    documentType String

    A String value that specifies the type of the view to be created by the WindowService.

    viewModel Object

    An object that represents the ViewModel.

    parameter Object

    An object that represents the paramenter passed to the ViewModel

    parentViewModel Object

    An object that represents the parent ViewModel.

    See Also