ThemeDictionaryExtension.ProvideValue Method (IServiceProvider)
Returns an object that should be set on the property where this extension is applied. For ThemeDictionaryExtension, this is the URI value for a particular theme dictionary extension.
Assembly: PresentationFramework (in PresentationFramework.dll)
Public Overrides Function ProvideValue ( serviceProvider As IServiceProvider ) As Object
Return ValueType: System.Object
The object value to set on the property where the extension is applied.
This method supports WPF XAML processor implementation, and is not intended to be called directly. The XAML processor implementation uses this method for proper handling of ThemeResourceDictionary extension values during object creation.
This implementation relies on services based on the passed serviceProvider. It must not be null. The serviceProvider object is expected to implement IXamlTypeResolver.
Available since 3.0