Class DefaultGroupTemplateSelector
Selects a System.Windows.DataTemplate for a leaf or group using default logic.
Inheritance
Namespace: Telerik.Windows.Controls.TreeMap
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public sealed class DefaultGroupTemplateSelector : DataTemplateSelector
Constructors
DefaultGroupTemplateSelector()
Declaration
public DefaultGroupTemplateSelector()
Properties
GroupTemplate
Gets or sets the group template.
Declaration
public HierarchicalDataTemplate GroupTemplate { get; set; }
Property Value
System.Windows.HierarchicalDataTemplate
The group template. |
LeafTemplate
Gets or sets the leaf template.
Declaration
public DataTemplate LeafTemplate { get; set; }
Property Value
System.Windows.DataTemplate
The leaf template. |
Methods
SelectTemplate(Object, DependencyObject)
When overridden in a derived class, returns a DataTemplate based on custom logic.
Declaration
public override DataTemplate SelectTemplate(object item, DependencyObject container)
Parameters
System.Object
item
The data object for which to select the template. |
System.Windows.DependencyObject
container
The data-bound object. |
Returns
System.Windows.DataTemplate
|