Click or drag to resize

DataTemplate Class

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

Namespace:  TomsToolbox.Wpf.XamlExtensions
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 1.0.70.0
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.

[CanBeNull]

Public methodStatic memberSetRole
Sets the role associated with a data template.
Top
Fields
  NameDescription
Public fieldStatic memberRoleProperty
Identifies the Role dependency property.

[NotNull]

Top
Attached Properties
  NameDescription
Public attached propertyRole
Shortcut to set a RoleBasedDataTemplateSelector with the specified role as the targets ContentTemplateSelector.
Top
See Also