ClassAppointmentItemContentTemplateSelector
Class
Provides a way to choose a DataTemplate for the AppointmentItem based on the data object and the data-bound element.
Definition
Namespace:Telerik.UI.Xaml.Controls.Scheduler
Assembly:Telerik.WinUI.Controls.dll
Syntax:
cs-api-definition
public class AppointmentItemContentTemplateSelector : DataTemplateSelector
Inheritance: objectAppointmentItemContentTemplateSelector
Constructors
AppointmentItemContentTemplateSelector()
Declaration
cs-api-definition
public AppointmentItemContentTemplateSelector()
Properties
DefaultTemplate
Declaration
cs-api-definition
public DataTemplate DefaultTemplate { get; set; }
Property Value
DataTemplate
Methods
SelectTemplateCore(object, DependencyObject)
Returns a DataTemplate for the AppointmentItem based on custom logic.
Declaration
cs-api-definition
protected override DataTemplate SelectTemplateCore(object item, DependencyObject container)
Parameters
item
The data object for which to select the template.
container
DependencyObject
The data-bound object.
Returns
DataTemplate
The DataTemplate for the AppointmentItem.