Class
ScheduleViewStyleSelector

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:

cs-api-definition
public abstract class ScheduleViewStyleSelector

Inheritance: objectScheduleViewStyleSelector

Derived Classes: OrientedAppointmentItemStyleSelectorOrientedGroupHeaderStyleSelectorOrientedTimeRulerItemStyleSelectorSpecialSlotStyleSelector

Constructors

ScheduleViewStyleSelector()

Declaration

cs-api-definition
protected ScheduleViewStyleSelector()

Methods

SelectStyle(object, DependencyObject, ViewDefinitionBase)

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

Declaration

cs-api-definition
public virtual Style SelectStyle(object item, DependencyObject container, ViewDefinitionBase activeViewDefinition)

Parameters

item

object

The content.

container

DependencyObject

The element to which the style will be applied.

activeViewDefinition

ViewDefinitionBase

The active view definition of ScheduleView.

Returns

Style

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