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:
C#
public class SpecialSlotStyleSelector : ScheduleViewStyleSelector
Inheritance: objectScheduleViewStyleSelectorSpecialSlotStyleSelector
Constructors
C#
public SpecialSlotStyleSelector()
Properties
DefaultStyle
Style
Gets or sets the default style of the SpecialSlot.
C#
public Style DefaultStyle { get; set; }
ReadOnlyStyle
Style
Gets or sets the read-only style of the SpecialSlot.
C#
public Style ReadOnlyStyle { get; set; }
Methods
When overridden in a derived class, returns a System.Windows.Style based on custom logic.
C#
public override Style SelectStyle(object item, DependencyObject container, ViewDefinitionBase activeViewDefinition)
The content.
containerDependencyObjectThe element to which the style will be applied.
activeViewDefinitionViewDefinitionBaseThe active view definition of ScheduleView.
Returns:Style
Returns an application-specific style to apply; otherwise, null.
Overrides: