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

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public abstract class TimeRulerItemBase : ContentControl

Inheritance: objectTimeRulerItemBase

Derived Classes: TimeRulerGroupItemTimeRulerItemTimeRulerLine

Constructors

Initializes a new instance of the TimeRulerItemBase class.

C#
public TimeRulerItemBase()

Fields

OrientationProperty

DependencyProperty

Identifies the Orientation dependency property.

C#
public static readonly DependencyProperty OrientationProperty

Properties

Orientation

Orientation

Gets or set the Orientation property.

C#
public Orientation Orientation { get; set; }

Methods

Updates the VisualStates.

C#
protected virtual void ChangeVisualState(bool useTransitions)
Parameters:useTransitionsbool

True to use a VisualTransition to transition between states; otherwise, false.

Transition the control between two visual states.

C#
protected void GoToState(bool useTransitions, params string[] stateNames)
Parameters:useTransitionsbool

True to use a VisualTransition to transition between states; otherwise, false.

stateNamesstring[]

The states to transition to.

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate(). In simplest terms, this means the method is called just before a UI element displays in an application.

C#
public override void OnApplyTemplate()