Class
RadTileAnimation

Provides an animation that sequentially animates items in a container. The end effect is similar to the animation of the home screen on the Windows Phone OS.

Definition

Constructors

RadTileAnimation()

Initializes a new instance of the RadTileAnimation class.

Declaration

cs-api-definition
public RadTileAnimation()

Fields

ContainerToAnimateProperty

Identifies the ContainerToAnimate property.

Declaration

cs-api-definition
public static readonly DependencyProperty ContainerToAnimateProperty

Field Value

DependencyProperty

ElementToDelayProperty

Identifies the ElementToDelay property.

Declaration

cs-api-definition
public static readonly DependencyProperty ElementToDelayProperty

Field Value

DependencyProperty

Properties

InOutAnimationMode

Gets or sets the in out animation mode.

Declaration

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

Property Value

InOutAnimationMode

The in out animation mode.

Implements IInOutAnimation.InOutAnimationMode

ItemAnimationDuration

Gets or sets the duration of the item animation.

Declaration

cs-api-definition
public Duration ItemAnimationDuration { get; set; }

Property Value

Duration

The duration of the item animation.

PerspectiveAngleX

Gets or sets the starting angle of the perspective rotation along the X axis.

Declaration

cs-api-definition
public double PerspectiveAngleX { get; set; }

Property Value

double

PerspectiveAngleY

Gets or sets the starting angle of the perspective rotation along the Y axis.

Declaration

cs-api-definition
public double PerspectiveAngleY { get; set; }

Property Value

double

SelectedItemDelay

Gets or sets the selected item delay.

Declaration

cs-api-definition
public TimeSpan SelectedItemDelay { get; set; }

Property Value

TimeSpan

The selected item delay.

SequentialItemDelay

Gets or sets the delay between the items start animation.

Declaration

cs-api-definition
public TimeSpan SequentialItemDelay { get; set; }

Property Value

TimeSpan

SequentialMode

Gets or sets the sequential mode.

Declaration

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

Property Value

SequentialMode

Methods

ApplyAnimationValues(PlayAnimationInfo)

Applies already stored (if any) animated values.

Declaration

cs-api-definition
protected override void ApplyAnimationValues(PlayAnimationInfo info)

Parameters

info

PlayAnimationInfo

The animation info.

Overrides RadAnimation.ApplyAnimationValues(PlayAnimationInfo)

ClearAnimation(UIElement)

Removes any property modifications, applied to the specified element by this instance.

Declaration

cs-api-definition
public override void ClearAnimation(UIElement target)

Parameters

target

UIElement

The element which property values are to be cleared.

Overrides RadAnimation.ClearAnimation(UIElement)

Remarks

It is assumed that the element has been previously animated by this animation.

CreateOpposite()

Creates a new instance of this animation that is the reverse of this instance.

Declaration

cs-api-definition
public override RadAnimation CreateOpposite()

Returns

RadAnimation

A new instance of this animation that is the reverse of this instance.

Overrides RadAnimation.CreateOpposite()

GetContainerToAnimate(DependencyObject)

Gets the ContainerToAnimate dependency property from an object.

Declaration

cs-api-definition
public static FrameworkElement GetContainerToAnimate(DependencyObject source)

Parameters

source

DependencyObject

The object to get the property from.

Returns

FrameworkElement

The property's value.

GetElementToDelay(DependencyObject)

Gets the ElementToDelay dependency property from an object.

Declaration

cs-api-definition
public static FrameworkElement GetElementToDelay(DependencyObject source)

Parameters

source

DependencyObject

The object to get the property from.

Returns

FrameworkElement

The property's value.

OnEnded(PlayAnimationInfo)

Fires the Ended event for the specific target provided in the PlayAnimationInfo object.

Declaration

cs-api-definition
protected override void OnEnded(PlayAnimationInfo info)

Parameters

info

PlayAnimationInfo

The info.

Overrides RadAnimation.OnEnded(PlayAnimationInfo)

SetContainerToAnimate(DependencyObject, FrameworkElement)

Sets the ContainerToAnimate dependency property on an object.

Declaration

cs-api-definition
public static void SetContainerToAnimate(DependencyObject source, FrameworkElement value)

Parameters

source

DependencyObject

The object to set the property on.

value

FrameworkElement

The value to set.

SetElementToDelay(DependencyObject, FrameworkElement)

Sets the ElementToDelay dependency property on an object.

Declaration

cs-api-definition
public static void SetElementToDelay(DependencyObject source, FrameworkElement value)

Parameters

source

DependencyObject

The object to set the property on.

value

FrameworkElement

The value to set.

UpdateAnimationOverride(AnimationContext)

Core update routine.

Declaration

cs-api-definition
protected override void UpdateAnimationOverride(AnimationContext context)

Parameters

context

AnimationContext

The context that holds information about the animation.

Overrides RadAnimation.UpdateAnimationOverride(AnimationContext)