ClassSchedulerDataTemplateSelector
Class
Provides a way to choose a DataTemplate based on the data object and the data-bound element.
Definition
Namespace:Telerik.UI.Xaml.Controls
Assembly:Telerik.WinUI.Controls.dll
Syntax:
cs-api-definition
public class SchedulerDataTemplateSelector
Inheritance: objectSchedulerDataTemplateSelector
Derived Classes:
Constructors
SchedulerDataTemplateSelector()
Initializes a new instance of the SchedulerDataTemplateSelector class.
Declaration
cs-api-definition
public SchedulerDataTemplateSelector()
Methods
SelectTemplate(object, DependencyObject, ViewDefinitionBase)
When overridden in a derived class, returns a System.Windows.DataTemplate based on custom logic.
Declaration
cs-api-definition
public virtual DataTemplate SelectTemplate(object item, DependencyObject container, ViewDefinitionBase activeViewDefinition)
Parameters
item
The data object for which to select the template.
container
DependencyObject
The data-bound object.
activeViewDefinition
The active view definition of Scheduler.
Returns
DataTemplate
Returns a DataTemplate or null. The default value is null.