Click or drag to resize

DataTemplateAttributeRole Property

Gets the role of this visual. If a role is set, a RoleBasedDataTemplateKey will be created for this view; else a simple DataTemplateKey is used.

Namespace:  TomsToolbox.Wpf.Composition.Mef
Assembly:  TomsToolbox.Wpf.Composition.Mef (in TomsToolbox.Wpf.Composition.Mef.dll)
Syntax
public Object? Role { get; set; }

Property Value

Type: Object

Implements

IDataTemplateMetadataRole
See Also