Back to Devexpress

TransitionManager.BeforeTransitionStarts Event

windowsforms-devexpress-dot-utils-dot-animation-dot-transitionmanager-cea27b00.md

latest2.2 KB
Original Source

TransitionManager.BeforeTransitionStarts Event

Allows you to perform custom actions before a transition between control states starts, or allows you to cancel the transition.

Namespace : DevExpress.Utils.Animation

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[DXCategory("Events")]
public event BeforeTransitionStartsEventHandler BeforeTransitionStarts
vb
<DXCategory("Events")>
Public Event BeforeTransitionStarts As BeforeTransitionStartsEventHandler

Event Data

The BeforeTransitionStarts event's data class is CancelEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled.

Remarks

The BeforeTransitionStarts event is raised when calling the TransitionManager.StartTransition method.

If you need to cancel state transitions in certain cases, set the event’s Cancel property to true.

See Also

StartTransition(Control)

AfterTransitionEnds

TransitionManager Class

TransitionManager Members

DevExpress.Utils.Animation Namespace