Actions Property
Collapse the table of content
Expand the table of content

EventTrigger.Actions Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the collection of BeginStoryboard objects that this EventTrigger maintains.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

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.

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft