Class
SpecialSlotStyleSelector

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

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public class SpecialSlotStyleSelector : ScheduleViewStyleSelector

Inheritance: objectScheduleViewStyleSelectorSpecialSlotStyleSelector

Constructors

SpecialSlotStyleSelector()

Declaration

cs-api-definition
public SpecialSlotStyleSelector()

Properties

DefaultStyle

Gets or sets the default style of the SpecialSlot.

Declaration

cs-api-definition
public Style DefaultStyle { get; set; }

Property Value

Style

ReadOnlyStyle

Gets or sets the read-only style of the SpecialSlot.

Declaration

cs-api-definition
public Style ReadOnlyStyle { get; set; }

Property Value

Style

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

Overrides ScheduleViewStyleSelector.SelectStyle(object, DependencyObject, ViewDefinitionBase)