New to Telerik UI for WPFStart a free 30-day trial

Provides a way to choose a style for the OrientedAppointmentItem based on the data object and the data-bound element.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public class OrientedAppointmentItemStyleSelector : ScheduleViewStyleSelector

Inheritance: objectScheduleViewStyleSelectorOrientedAppointmentItemStyleSelector

Constructors

C#
public OrientedAppointmentItemStyleSelector()

Properties

Gets or sets the agenda view style.

C#
public Style AgendaViewStyle { get; set; }

Gets or sets the horizontal style.

C#
public Style HorizontalStyle { get; set; }

Gets or sets the month view style.

C#
public Style MonthViewStyle { get; set; }

Gets or sets the vertical style.

C#
public Style VerticalStyle { get; set; }

Methods

Returns a style for the OrientedAppointmentItem based on custom logic.

C#
public override Style SelectStyle(object item, DependencyObject container, ViewDefinitionBase activeViewDefinition)
Parameters:itemobject

The data object for which to select the template.

containerDependencyObject

The data-bound object.

activeViewDefinitionViewDefinitionBase
Returns:

Style

The style for the OrientedAppointmentItem.

Overrides: ScheduleViewStyleSelector.SelectStyle(object, DependencyObject, ViewDefinitionBase)