DocumentManagerServiceExtensions.GetDocumentsByParentViewModel(IDocumentManagerService, Object) Method
In This Article
Static extension method that returns a collection of documents whose Parent View Model (ISupportParentViewModel) is equal to the specified View Model.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v24.2.dll
NuGet Packages: DevExpress.Mvvm, DevExpress.Win.Navigation
#Declaration
public static IEnumerable<IDocument> GetDocumentsByParentViewModel(
this IDocumentManagerService service,
object parentViewModel
)
#Parameters
Name | Type | Description |
---|---|---|
service | IDocument |
A System. |
parent |
Object | An object that is passed to the view model of the created view via the ISupport |
#Returns
Type | Description |
---|---|
IEnumerable<IDocument> | A collection of objects implementing the IDocument interface. |
See Also