Class
SchedulerStyleSelector

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

Definition

Namespace:Telerik.UI.Xaml.Controls

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public abstract class SchedulerStyleSelector

Inheritance: objectSchedulerStyleSelector

Derived Classes: OrientedAppointmentItemStyleSelectorOrientedGroupHeaderStyleSelectorOrientedTimeRulerItemStyleSelectorSpecialSlotStyleSelector

Constructors

SchedulerStyleSelector()

Declaration

cs-api-definition
protected SchedulerStyleSelector()

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 Scheduler.

Returns

Style

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