Class ScheduleViewStyleSelector
Provides a way to apply styles on elements in ScheduleView based on custom logic.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public abstract class ScheduleViewStyleSelector : Object
Constructors
ScheduleViewStyleSelector()
Declaration
protected ScheduleViewStyleSelector()
Methods
SelectStyle(Object, DependencyObject, ViewDefinitionBase)
When overridden in a derived class, returns a System.Windows.Style based on custom logic.
Declaration
public virtual 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. |