Skip to main content
A newer version of this page is available. .

DocumentManagerServiceExtensions.FindDocument(IDocumentManagerService, Object) Method

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

Namespace: DevExpress.Mvvm

Assembly: DevExpress.Mvvm.v20.2.dll

NuGet Packages: DevExpress.Mvvm, DevExpress.Uwp.Controls, DevExpress.WindowsDesktop.Mvvm

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