Click or drag to resize

DataTemplate Class

Attached properties to simplify data template handling.
Inheritance Hierarchy
SystemObject
  TomsToolbox.Wpf.Composition.XamlExtensionsDataTemplate

Namespace:  TomsToolbox.Wpf.Composition.XamlExtensions
Assembly:  TomsToolbox.Wpf.Composition (in TomsToolbox.Wpf.Composition.dll)
Syntax
public static class DataTemplate

The DataTemplate type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetRole
Gets the role associated with a data template.
Public methodStatic memberSetRole
Sets the role associated with a data template.
Top
Fields
  NameDescription
Public fieldStatic memberContractName
The contract name used for export.
Public fieldStatic memberRoleProperty
Identifies the Role dependency property.
Top
Attached Properties
  NameDescription
Public attached propertyRole
Shortcut to set a RoleBasedDataTemplateSelector with the specified role as the targets ContentTemplateSelector.
Top
See Also