New to Telerik UI for WPFStart a free 30-day trial

Provides a way to apply styles on time indicator elements in ScheduleView based on custom logic.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public class TimeIndicatorItemStyleSelector : StyleSelector

Inheritance: objectTimeIndicatorItemStyleSelector

Constructors

C#
public TimeIndicatorItemStyleSelector()

Properties

Gets or sets the style which is applied when the indicator is shown only through the Appointments panel.

C#
public Style AppointmentsAreaStyle { get; set; }

Gets or sets the style which is applied when the indicator is shown inside the TimeRuler.

C#
public Style TimeRulerAreaStyle { get; set; }

Gets or sets the style which is applied when the indicator is shown on both the TimeRuler and Appointments panel.

C#
public Style WholeAreaStyle { 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)
Parameters:itemobject

The content.

containerDependencyObject

The element to which the style will be applied.

Returns:

Style

Returns an application-specific style to apply; otherwise, null.