Class
DefaultGroupTemplateSelector

Selects a DataTemplate for a leaf or group using default logic.

Definition

Namespace:Telerik.Windows.Controls.TreeMap

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public sealed class DefaultGroupTemplateSelector : DataTemplateSelector

Inheritance: objectDefaultGroupTemplateSelector

Constructors

DefaultGroupTemplateSelector()

Declaration

cs-api-definition
public DefaultGroupTemplateSelector()

Properties

GroupTemplate

Gets or sets the group template.

Declaration

cs-api-definition
public HierarchicalDataTemplate GroupTemplate { get; set; }

Property Value

HierarchicalDataTemplate

The group template.

LeafTemplate

Gets or sets the leaf template.

Declaration

cs-api-definition
public DataTemplate LeafTemplate { get; set; }

Property Value

DataTemplate

The leaf template.

Methods

SelectTemplate(object, DependencyObject)

When overridden in a derived class, returns a DataTemplate based on custom logic.

Declaration

cs-api-definition
public override DataTemplate SelectTemplate(object item, DependencyObject container)

Parameters

item

object

The data object for which to select the template.

container

DependencyObject

The data-bound object.

Returns

DataTemplate