Click or drag to resize

DataTemplateManagerCreateKey Method

Creates the template key.

Namespace:  TomsToolbox.Wpf.Composition
Assembly:  TomsToolbox.Wpf.Composition (in TomsToolbox.Wpf.Composition.dll)
Syntax
public static TemplateKey CreateKey(
	Type dataType,
	Object? role
)

Parameters

dataType
Type: SystemType
The type for which the template is used to display items.
role
Type: SystemObject
The optional role.

Return Value

Type: TemplateKey
The key for the specified parameters.
See Also