Skip to main content
All docs
V26.1
  • IocExtension.ProvideValue(IServiceProvider) Method

    Resolves and returns the object or service of the type specified by the Type property from the Default service.

    Namespace: DevExpress.Mvvm.UI

    Assembly: DevExpress.Xpf.Core.v26.1.dll

    Declaration

    public override object ProvideValue(
        IServiceProvider serviceProvider
    )

    Parameters

    Name Type Description
    serviceProvider IServiceProvider

    Contains XAML context services.

    Returns

    Type Description
    Object

    The resolved object instance; otherwise null (for example, when Type is unspecified, the requested type is not registered, or in design mode, when the global provider is not configured).

    See Also