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

Provides a way to choose a style for the TimeRulerItem 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 OrientedTimeRulerItemStyleSelector : ScheduleViewStyleSelector

Inheritance: objectScheduleViewStyleSelectorOrientedTimeRulerItemStyleSelector

Constructors

C#
public OrientedTimeRulerItemStyleSelector()

Properties

Gets or sets the style of the AgendaViewTick.

C#
public Style AgendaViewTickStyle { get; set; }

Gets or sets the style of the AgendaViewTodayTick.

C#
public Style AgendaViewTodayTickStyle { get; set; }

Gets or sets the horizontal style of the GroupItem.

C#
public Style HorizontalGroupItemStyle { get; set; }

Gets or sets the horizontal style of the Line.

C#
public Style HorizontalLineStyle { get; set; }

Gets or sets the horizontal style of the MajorTick.

C#
public Style MajorHorizontalTickStyle { get; set; }

Gets or sets the vertical style of the MajorTick.

C#
public Style MajorVerticalTickStyle { get; set; }

Gets or sets the horizontal style of the MinorTick.

C#
public Style MinorHorizontalTickStyle { get; set; }

Gets or sets the vertical style of the MinorTick.

C#
public Style MinorVerticalTickStyle { get; set; }

Gets or sets the style of the MonthViewGroup.

C#
public Style MonthViewGroupStyle { get; set; }

Gets or sets the style of the MonthViewTick.

C#
public Style MonthViewTickStyle { get; set; }

Gets or sets the style of the MonthViewTodayTick.

C#
public Style MonthViewTodayTickStyle { get; set; }

Gets or sets the vertical style of the GroupItem.

C#
public Style VerticalGroupItemStyle { get; set; }

Gets or sets the vertical style of the Line.

C#
public Style VerticalLineStyle { get; set; }

Methods

Returns a style for the TimeRulerItem based on custom logic.

C#
public override Style SelectStyle(object item, DependencyObject container, ViewDefinitionBase activeViewDefinition)
Parameters:itemobject

The data object for which to select the template.

containerDependencyObject

The data-bound object.

activeViewDefinitionViewDefinitionBase
Returns:

Style

The style for the TimeRulerItem.

Overrides: ScheduleViewStyleSelector.SelectStyle(object, DependencyObject, ViewDefinitionBase)