| DataTemplateManagerCreateKey Method |
Creates the template key.
Namespace: TomsToolbox.Wpf.CompositionAssembly: TomsToolbox.Wpf.Composition (in TomsToolbox.Wpf.Composition.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax public static TemplateKey CreateKey(
Type dataType,
Object? role
)
Public Shared Function CreateKey (
dataType As Type,
role As Object
) As TemplateKey
Parameters
- dataType Type
- The type for which the template is used to display items.
- role Object
- The optional role.
Return Value
TemplateKeyThe key for the specified parameters.
See Also