ClassGroupHeaderTemplateSelector
Provides a way to choose a DataTemplate for the GroupHeader based on the data object and the data-bound element.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class GroupHeaderTemplateSelector : ScheduleViewDataTemplateSelector
Inheritance: objectScheduleViewDataTemplateSelectorGroupHeaderTemplateSelector
Constructors
GroupHeaderTemplateSelector()
Declaration
public GroupHeaderTemplateSelector()
Properties
AgendaViewHorizontalTopDateTemplate
Gets or sets the template for the top horizontal GroupHeader when in agenda view. Only applies if the top level grouping is by date.
Declaration
public DataTemplate AgendaViewHorizontalTopDateTemplate { get; set; }
Property Value
DataTemplate
HorizontalTemplate
Gets or sets the template for the horizontal GroupHeader.
Declaration
public DataTemplate HorizontalTemplate { get; set; }
Property Value
DataTemplate
VerticalTemplate
Gets or sets the template for the vertical GroupHeader.
Declaration
public DataTemplate VerticalTemplate { get; set; }
Property Value
DataTemplate
Methods
SelectTemplate(object, DependencyObject, ViewDefinitionBase)
Returns a DataTemplate for the GroupHeader based on custom logic.
Declaration
public override 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
Returns
DataTemplate
The DataTemplate for the AppointmentItem.
Overrides