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

Provides a way to apply styles on elements in ScheduleView based on custom logic.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public abstract class ScheduleViewStyleSelector

Inheritance: objectScheduleViewStyleSelector

Derived Classes: OrientedAppointmentItemStyleSelectorOrientedGroupHeaderStyleSelectorOrientedTimeRulerItemStyleSelectorSpecialSlotStyleSelector

Constructors

C#
protected ScheduleViewStyleSelector()

Methods

When overridden in a derived class, returns a System.Windows.Style based on custom logic.

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

The content.

containerDependencyObject

The element to which the style will be applied.

activeViewDefinitionViewDefinitionBase

The active view definition of ScheduleView.

Returns:

Style

Returns an application-specific style to apply; otherwise, null.