Click or drag to resize
ViewModeContentTemplateSelector Class
Provides a way to choose a DataTemplate for the ViewMode based on the data object and the data-bound element.
Inheritance Hierarchy
SystemObject
  System.Windows.ControlsDataTemplateSelector
    Telerik.Windows.ControlsViewModeContentTemplateSelector

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView (in Telerik.Windows.Controls.ScheduleView.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public class ViewModeContentTemplateSelector : DataTemplateSelector

The ViewModeContentTemplateSelector type exposes the following members.

Constructors
Methods
  NameDescription
Public methodSelectTemplate
When overridden in a derived class, returns a System.Windows.DataTemplate based on a custom logic.
(Overrides DataTemplateSelectorSelectTemplate(Object, DependencyObject).)
Top
Properties
  NameDescription
Public propertyDayViewModeButtonContentTemplate
Gets or sets the content template of the DayViewMode.
Public propertyMonthViewModeButtonContentTemplate
Gets or sets the content template of the MonthViewMode.
Public propertyTimelineViewModeButtonContentTemplate
Gets or sets the content template of the TimelineViewMode.
Public propertyWeekViewModeButtonContentTemplate
Gets or sets the content template of the WeekViewMode.
Top
See Also