Back to Devexpress

ServiceSearchMode Enum

corelibraries-devexpress-dot-mvvm-5b3043be.md

latest1.7 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
public enum ServiceSearchMode
vb
Public Enum ServiceSearchMode

Members

NameDescription
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.

|

The following properties accept/return ServiceSearchMode values:

Remarks

See ViewModel relationships (ISupportParentViewModel) to learn more.

See Also

DevExpress.Mvvm Namespace