Class GroupHeaderTemplateSelector
Provides a way to choose a DataTemplate for the GroupHeader based on the data object and the data-bound element.
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class GroupHeaderTemplateSelector : ScheduleViewDataTemplateSelector
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
System.Windows.DataTemplate
|
HorizontalTemplate
Gets or sets the template for the horizontal GroupHeader.
Declaration
public DataTemplate HorizontalTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
VerticalTemplate
Gets or sets the template for the vertical GroupHeader.
Declaration
public DataTemplate VerticalTemplate { get; set; }
Property Value
System.Windows.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
System.Object
item
The data object for which to select the template. |
System.Windows.DependencyObject
container
The data-bound object. |
ViewDefinitionBase
activeViewDefinition
|
Returns
System.Windows.DataTemplate
The DataTemplate for the AppointmentItem. |