ClassSpecialSlotStyleSelector
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:
public class SpecialSlotStyleSelector : ScheduleViewStyleSelector
Inheritance: objectScheduleViewStyleSelectorSpecialSlotStyleSelector
Constructors
SpecialSlotStyleSelector()
Declaration
public SpecialSlotStyleSelector()
Properties
DefaultStyle
Gets or sets the default style of the SpecialSlot.
Declaration
public Style DefaultStyle { get; set; }
Property Value
Style
ReadOnlyStyle
Gets or sets the read-only style of the SpecialSlot.
Declaration
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
public override Style SelectStyle(object item, DependencyObject container, ViewDefinitionBase activeViewDefinition)
Parameters
item
The content.
container
DependencyObject
The element to which the style will be applied.
activeViewDefinition
The active view definition of ScheduleView.
Returns
Style
Returns an application-specific style to apply; otherwise, null.
Overrides