Class
CalendarAnimation

Class that governs the transition animations in the calendar.

Definition

Namespace:Telerik.Windows.Controls.Calendar

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

cs-api-definition
public static class CalendarAnimation

Inheritance: objectCalendarAnimation

Methods

SlideIn(FrameworkElement)

Slides the given element into view. This is an extension method.

Declaration

cs-api-definition
public static void SlideIn(this FrameworkElement target)

Parameters

target

FrameworkElement

The target.

SlideIn(FrameworkElement, TimeSpan)

Slides the given element into view. This is an extension method.

Declaration

cs-api-definition
public static void SlideIn(this FrameworkElement target, TimeSpan duration)

Parameters

target

FrameworkElement

The given element.

duration

TimeSpan

How long should the transition take.

SlideOut(FrameworkElement)

Slides the given element out of view. This is an extension method.

Declaration

cs-api-definition
public static void SlideOut(this FrameworkElement target)

Parameters

target

FrameworkElement

The target.

SlideOut(FrameworkElement, TimeSpan)

Slides the given element out of view. This is an extension method.

Declaration

cs-api-definition
public static void SlideOut(this FrameworkElement target, TimeSpan duration)

Parameters

target

FrameworkElement

The target element.

duration

TimeSpan

How long should the transition take.

Translate(FrameworkElement, double?, double?, double?, double?, TimeSpan)

Translates the target element as requested by the parameters.

Declaration

cs-api-definition
public static void Translate(this FrameworkElement target, double? fromX, double? fromY, double? toX, double? toY, TimeSpan duration)

Parameters

target

FrameworkElement

The given element.

fromX

double?

The starting x Translate transform value.

fromY

double?

The starting y Translate transform value.

toX

double?

The final x Translate transform value.

toY

double?

The final y Translate transform value.

duration

TimeSpan

How long should the transition take.

Translate(FrameworkElement, double?, double?, double?, double?, TimeSpan, Action)

Translates the target element as requested by the parameters and executes the action request.

Declaration

cs-api-definition
public static void Translate(this FrameworkElement target, double? fromX, double? fromY, double? toX, double? toY, TimeSpan duration, Action action)

Parameters

target

FrameworkElement

The given element.

fromX

double?

The starting x Translate transform value.

fromY

double?

The starting y Translate transform value.

toX

double?

The final x Translate transform value.

toY

double?

The final y Translate transform value.

duration

TimeSpan

How long should the transition take.

action

Action

The action request to be executed later.