Class
FieldBoxItemRolePresenterTemplateSelector

A DataTemplateSelector that selects a DataTemplate based on a IField's FieldInfo.

Definition

Namespace:Telerik.Windows.Controls.FieldList

Assembly:Telerik.Windows.Controls.PivotFieldList.dll

Syntax:

cs-api-definition
public sealed class FieldBoxItemRolePresenterTemplateSelector : DataTemplateSelector

Inheritance: objectFieldBoxItemRolePresenterTemplateSelector

Constructors

FieldBoxItemRolePresenterTemplateSelector()

Declaration

cs-api-definition
public FieldBoxItemRolePresenterTemplateSelector()

Properties

DimensionRoleTemplate

Gets or sets the DataTemplate used for the Dimension.

Declaration

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

Property Value

DataTemplate

FolderRoleTemplate

Gets or sets the DataTemplate used for the Folder.

Declaration

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

Property Value

DataTemplate

KpiRoleTemplate

Gets or sets the DataTemplate used for the Kpi.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Kpi", Justification = "KPI is a Key Product Index that is accepted as a standard.")]
public DataTemplate KpiRoleTemplate { get; set; }

Property Value

DataTemplate

NoneRoleTemplate

Gets or sets the DataTemplate used for the None.

Declaration

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

Property Value

DataTemplate

OtherRoleTemplate

Gets or sets the DataTemplate used for the Other.

Declaration

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

Property Value

DataTemplate

SelectableRoleTemplate

Gets or sets the DataTemplate used for the Selectable.

Declaration

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

Property Value

DataTemplate

ValuesRoleTemplate

Gets or sets the DataTemplate used for the Measure.

Declaration

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

Property Value

DataTemplate

Methods

SelectTemplate(object, DependencyObject)

Selects a DataTemplate based on a IField's FieldInfo.

Declaration

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

Parameters

item

object

The item for which a template is selected. Expected to be IField.

container

DependencyObject

The container.

Returns

DataTemplate

The selected DataTemplate.