Skip to main content
All docs
V26.1
  • IocExtension Constructors

    A markup extension that allows you to resolve an object or service from the configured dependency injection container in XAML. The extension uses the global IocServiceProvider.Default service provider.
    Name Parameters Description
    IocExtension() none Initializes a new instance of the IocExtension class.
    IocExtension(Type) type Initializes a new instance of the IocExtension class with specified settings.
    See Also