ServiceSearchMode Enum
Lists values that specify whether a search for a service must be carried out within the current service container, or within the current and parent service containers.
Namespace: DevExpress.Mvvm
Assembly: DevExpress.Mvvm.v18.1.dll
Declaration
Members
Name | Description |
---|---|
PreferLocal
|
A search for a service is carried out within both the current and parent service containers. A service found in the current container has a higher priority. |
LocalOnly
|
A search for a service is carried out within the current service container. |
PreferParents
|
A search for a service is carried out within both the current and parent service containers. A service found in parent containers has a higher priority. |
Related API Members
The following properties accept/return ServiceSearchMode values:
Remarks
See ViewModel relationships (ISupportParentViewModel) to learn more.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ServiceSearchMode enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.