Class SpecialSlotStyleSelector
Provides a way to choose a style for the SpecialSlot based on the data object and the data-bound element.
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class SpecialSlotStyleSelector : ScheduleViewStyleSelector
Constructors
SpecialSlotStyleSelector()
Declaration
public SpecialSlotStyleSelector()
Properties
DefaultStyle
Gets or sets the default style of the SpecialSlot.
Declaration
public Style DefaultStyle { get; set; }
Property Value
System.Windows.Style
|
ReadOnlyStyle
Gets or sets the read-only style of the SpecialSlot.
Declaration
public Style ReadOnlyStyle { get; set; }
Property Value
System.Windows.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
System.Object
item
The content. |
System.Windows.DependencyObject
container
The element to which the style will be applied. |
ViewDefinitionBase
activeViewDefinition
The active view definition of ScheduleView. |
Returns
System.Windows.Style
Returns an application-specific style to apply; otherwise, null. |