Skip to main content

DXTransitionControl

 

DXTransitionControl allows you to enhance your web application powered by Silverlight, by adding visual effects that occur when a control's content changes. This control is represented by the class.

DXTransitionControl_GettingStarted

#Content Settings

A visual element, that should be displayed by DXTransitionControl is specified by the Content property. When this property's value is changed, DXTransitionControl plays the animation (a transition effect) and displays the new content. The previously displayed visual element is specified by the TransitionControl.PreviousContent property.

#Transition Effects

DXTransitionControl control provides eight transition effects, listed in . To specify one of the built-in transition effects, use the TransitionControl.TransitionStyle property.

It is also possible to create a custom transition effect. To implement custom animation, create two templates. The first template should represent the transformation of new content. The second template should represent the transformation of the previous content. Assign these templates to the TransitionControl.ControlTemplate and TransitionControl.PreviousControlTemplate properties respectively. Both templates should have their TargetType property set to DXTransitionContentControl.

#Examples