Skip to main content

DocumentManagerServiceExtensions.FindDocument(IDocumentManagerService, 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 viewModel
)

Parameters

Name Type Description
service IDocumentManagerService

The type the static extension method operates with.

viewModel Object

An object specifying the document’s View Models.

Returns

Type Description
IDocument

An object implementing the IDocument interface.

See Also