Class ResourceTypeTemplateSelector
A selector for the data template of resource type.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class ResourceTypeTemplateSelector : DataTemplateSelector
Constructors
ResourceTypeTemplateSelector()
Declaration
public ResourceTypeTemplateSelector()
Properties
MultipleSelectionTemplate
Gets or sets the multiple selection template.
Declaration
public DataTemplate MultipleSelectionTemplate { get; set; }
Property Value
System.Windows.DataTemplate
The multiple selection template. |
SingleSelectionTemplate
Gets or sets the single selection template.
Declaration
public DataTemplate SingleSelectionTemplate { get; set; }
Property Value
System.Windows.DataTemplate
The single selection template. |
Methods
SelectTemplate(Object, DependencyObject)
When overridden in a derived class, returns a System.Windows.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
Returns a System.Windows.DataTemplate or null. The default value is null. |