Storyboard::Begin Method (FrameworkElement^, HandoffBehavior)
.NET Framework (current version)
Applies the animations associated with this Storyboard to their targets and initiates them, using the specified HandoffBehavior.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- containingObject
-
Type:
System.Windows::FrameworkElement^
An object contained within the same name scope as the targets of this storyboard's animations. Animations without a specified TargetName are applied to containingObject.
- handoffBehavior
-
Type:
System.Windows.Media.Animation::HandoffBehavior
The behavior the new animation should use to interact with any current animations.
The following example uses the SnapshotAndReplace HandoffBehavior to animate when the user left-clicks, and the Compose HandoffBehavior when the user right-clicks.
.NET Framework
Available since 3.0
Available since 3.0
Show: