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) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
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 propertyRoleShortcut to set a RoleBasedDataTemplateSelector with the specified role as the targets ContentTemplateSelector.
Top
See Also