Class FieldBoxItemRolePresenterTemplateSelector
A DataTemplateSelector that selects a DataTemplate based on a IField's FieldInfo.
Namespace: Telerik.Windows.Controls.FieldList
Assembly: Telerik.Windows.Controls.PivotFieldList.dll
Syntax
public sealed class FieldBoxItemRolePresenterTemplateSelector : DataTemplateSelector
Constructors
FieldBoxItemRolePresenterTemplateSelector()
Declaration
public FieldBoxItemRolePresenterTemplateSelector()
Properties
DimensionRoleTemplate
Gets or sets the System.Windows.DataTemplate used for the Dimension.
Declaration
public DataTemplate DimensionRoleTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
FolderRoleTemplate
Gets or sets the System.Windows.DataTemplate used for the Folder.
Declaration
public DataTemplate FolderRoleTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
KpiRoleTemplate
Gets or sets the System.Windows.DataTemplate used for the Kpi.
Declaration
public DataTemplate KpiRoleTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
NoneRoleTemplate
Gets or sets the System.Windows.DataTemplate used for the None.
Declaration
public DataTemplate NoneRoleTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
OtherRoleTemplate
Gets or sets the System.Windows.DataTemplate used for the Other.
Declaration
public DataTemplate OtherRoleTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
SelectableRoleTemplate
Gets or sets the System.Windows.DataTemplate used for the Selectable.
Declaration
public DataTemplate SelectableRoleTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
ValuesRoleTemplate
Gets or sets the System.Windows.DataTemplate used for the Measure.
Declaration
public DataTemplate ValuesRoleTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
Methods
SelectTemplate(Object, DependencyObject)
Declaration
public override DataTemplate SelectTemplate(object item, DependencyObject container)
Parameters
System.Object
item
The item for which a template is selected. Expected to be IField. |
System.Windows.DependencyObject
container
The container. |
Returns
System.Windows.DataTemplate
The selected System.Windows.DataTemplate. |