Class StoryboardTrigger
An abstract class that provides the ability to target a Storyboard.
public abstract class StoryboardTrigger : TriggerBase<DependencyObject>, IAttachedObject
- Inheritance
-
TriggerBase<DependencyObject>StoryboardTrigger
- Implements
- Derived
- Inherited Members
Remarks
For Trigger authors, this class provides a standard way to target a Storyboard. Design tools may choose to provide a special editing experience for classes that inherit from this trigger, thereby improving the designer experience.
Constructors
StoryboardTrigger()
protected StoryboardTrigger()
Fields
StoryboardProperty
public static readonly DependencyProperty StoryboardProperty
Field Value
- DependencyProperty
Properties
Storyboard
The targeted Storyboard. This is a dependency property.
public Storyboard Storyboard { get; set; }
Property Value
- Storyboard
Methods
OnStoryboardChanged(DependencyPropertyChangedEventArgs)
This method is called when the Storyboard property is changed.
protected virtual void OnStoryboardChanged(DependencyPropertyChangedEventArgs args)
Parameters
args
DependencyPropertyChangedEventArgs