Class
TimeRulerItemBase

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public abstract class TimeRulerItemBase : ContentControl

Inheritance: objectTimeRulerItemBase

Derived Classes: TimeRulerGroupItemTimeRulerItemTimeRulerLine

Constructors

TimeRulerItemBase()

Initializes a new instance of the TimeRulerItemBase class.

Declaration

cs-api-definition
public TimeRulerItemBase()

Fields

OrientationProperty

Identifies the Orientation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty OrientationProperty

Field Value

DependencyProperty

Properties

Orientation

Gets or set the Orientation property.

Declaration

cs-api-definition
public Orientation Orientation { get; set; }

Property Value

Orientation

Methods

ChangeVisualState(bool)

Updates the VisualStates.

Declaration

cs-api-definition
protected virtual void ChangeVisualState(bool useTransitions)

Parameters

useTransitions

bool

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

GoToState(bool, params string[])

Transition the control between two visual states.

Declaration

cs-api-definition
protected void GoToState(bool useTransitions, params string[] stateNames)

Parameters

useTransitions

bool

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

stateNames

string[]

The states to transition to.

OnApplyTemplate()

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.

Declaration

cs-api-definition
public override void OnApplyTemplate()