Back to Devexpress

Transition.TransitionType Property

windowsforms-devexpress-dot-utils-dot-animation-dot-transition-7e47acd4.md

latest2.0 KB
Original Source

Transition.TransitionType Property

Gets or sets the type of animation effect applied by this Transition. This property accepts “…Transition” objects from the DevExpress.Utils.Animation namespace.

Namespace : DevExpress.Utils.Animation

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
public ITransitionAnimator TransitionType { get; set; }
vb
Public Property TransitionType As ITransitionAnimator

Property Value

TypeDescription
DevExpress.Utils.Animation.ITransitionAnimator

An object that specifies the animation effect applied by this Transition.

|

Remarks

The sample below illustrates how to create a transition that applies the Zoom animation effect to its target control.

csharp
DevExpress.Utils.Animation.Transition transition = new DevExpress.Utils.Animation.Transition();
 transition.Control = this;
 DevExpress.Utils.Animation.ZoomTransition zoomEffect = new DevExpress.Utils.Animation.ZoomTransition();
 transition.TransitionType = zoomEffect;
vb
Dim transition As New DevExpress.Utils.Animation.Transition()
 transition.Control = Me
 Dim zoomEffect As New DevExpress.Utils.Animation.ZoomTransition()
 transition.TransitionType = zoomEffect

See Also

Transition Class

Transition Members

DevExpress.Utils.Animation Namespace