EventTrigger.Actions Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the collection of BeginStoryboard objects that this EventTrigger maintains.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property Actions As TriggerActionCollection
public TriggerActionCollection Actions { get; }
<EventTrigger>
  oneOrMoreBeginStoryboards
</EventTrigger>

XAML Values

  • oneOrMoreBeginStoryboards
    One or more BeginStoryboard object elements. Object elements defined here become members of the TriggerActionCollection that is the value of the Actions property, if you use code to examine that collection at run time.

Remarks

You can manipulate the contents of the TriggerActionCollection, but you cannot replace it. You set the Actions value in XAML by placing one or more BeginStoryboard elements as the child elements of an EventTrigger object. You do not typically specify an EventTrigger.Actions property element, because Actions is the XAML content property of EventTrigger.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.