Skip to main content

DocumentManagerServiceExtensions.FindDocument(IDocumentManagerService, Object, Object) Method

Static extension method that finds and returns a document with the specified parameters.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v24.1.dll

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

Declaration

public static IDocument FindDocument(
    this IDocumentManagerService service,
    object parameter,
    object parentViewModel
)

Parameters

Name Type Description
service IDocumentManagerService

The type the static extension method operates with.

parameter Object

A parameter passed to the view model via the ISupportParameter.Parameter property.

parentViewModel Object

An object that is passed to the view model of the view via the ISupportParentViewModel.ParentViewModel property.

Returns

Type Description
IDocument

An object implementing the IDocument interface.

See Also