ClassResourceTypeTemplateSelector
Class
A selector for the data template of resource type.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
cs-api-definition
public class ResourceTypeTemplateSelector : DataTemplateSelector
Inheritance: objectResourceTypeTemplateSelector
Constructors
ResourceTypeTemplateSelector()
Declaration
cs-api-definition
public ResourceTypeTemplateSelector()
Properties
MultipleSelectionTemplate
Gets or sets the multiple selection template.
Declaration
cs-api-definition
public DataTemplate MultipleSelectionTemplate { get; set; }
Property Value
DataTemplate
The multiple selection template.
SingleSelectionTemplate
Gets or sets the single selection template.
Declaration
cs-api-definition
public DataTemplate SingleSelectionTemplate { get; set; }
Property Value
DataTemplate
The single selection 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
The data object for which to select the template.
container
DependencyObject
The data-bound object.
Returns
DataTemplate
Returns a DataTemplate or null. The default value is null.