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

Container for the setting of the scene during the start of a new Transition.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class TransitionContext

Inheritance: objectTransitionContext

Constructors

C#
public TransitionContext()

Properties

Gets the current data content.

C#
public object CurrentContent { get; }

CurrentVisualElement

FrameworkElement

Gets the visual element that render the current content.

C#
public FrameworkElement CurrentVisualElement { get; }

Gets the desired duration of the animation.

C#
public TimeSpan Duration { get; }

Easing

IEasingFunction

Gets the desired global easing function.

C#
public IEasingFunction Easing { get; }

Host

FrameworkElement

Gets the Panel that hosts the old and the current visual contents.

C#
public FrameworkElement Host { get; }

Gets the old data content.

C#
public object OldContent { get; }

Gets a visual brush that has a snapshot of the old content.

C#
public Brush OldVisualBrush { get; }

OldVisualElement

FrameworkElement

Gets the visual element that render the old content.

C#
public FrameworkElement OldVisualElement { get; }