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

Class that governs the transition animations in the calendar.

Definition

Namespace:Telerik.Windows.Controls.Calendar

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public static class CalendarAnimation

Inheritance: objectCalendarAnimation

Methods

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

C#
public static void SlideIn(this FrameworkElement target, TimeSpan duration)
Parameters:targetFrameworkElement

The given element.

durationTimeSpan

How long should the transition take.

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

C#
public static void SlideIn(this FrameworkElement target)
Parameters:targetFrameworkElement

The target.

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

C#
public static void SlideOut(this FrameworkElement target, TimeSpan duration)
Parameters:targetFrameworkElement

The target element.

durationTimeSpan

How long should the transition take.

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

C#
public static void SlideOut(this FrameworkElement target)
Parameters:targetFrameworkElement

The target.

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

C#
public static void Translate(this FrameworkElement target, double? fromX, double? fromY, double? toX, double? toY, TimeSpan duration, Action action)
Parameters:targetFrameworkElement

The given element.

fromXdouble?

The starting x Translate transform value.

fromYdouble?

The starting y Translate transform value.

toXdouble?

The final x Translate transform value.

toYdouble?

The final y Translate transform value.

durationTimeSpan

How long should the transition take.

actionAction

The action request to be executed later.

Translates the target element as requested by the parameters.

C#
public static void Translate(this FrameworkElement target, double? fromX, double? fromY, double? toX, double? toY, TimeSpan duration)
Parameters:targetFrameworkElement

The given element.

fromXdouble?

The starting x Translate transform value.

fromYdouble?

The starting y Translate transform value.

toXdouble?

The final x Translate transform value.

toYdouble?

The final y Translate transform value.

durationTimeSpan

How long should the transition take.