| 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
)
Public Shared Function CreateKey (
dataType As Type,
role As Object
) As TemplateKey
Parameters
- dataType
- Type: SystemType
The type for which the template is used to display items. - role
- Type: SystemObject
The optional role.
Return Value
Type:
TemplateKeyThe key for the specified parameters.
See Also