Click or drag to resize

DataTemplateManagerCreateDynamicDataTemplates Method

Creates dynamic data templates by looking up all MEF exports with the DataTemplateAttribute attribute, creating a DataTemplate resource dictionary entry for every export.

Namespace: TomsToolbox.Wpf.Composition
Assembly: TomsToolbox.Wpf.Composition (in TomsToolbox.Wpf.Composition.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public static ResourceDictionary CreateDynamicDataTemplates(
	IExportProvider exportProvider
)

Parameters

exportProvider  IExportProvider
The export provider to search for exports with the DataTemplateAttribute.

Return Value

ResourceDictionary
The resource dictionary containing the dynamic data templates. This is usually added to the merged dictionaries of your application's resources.
See Also