Export (0) Print
Expand All

TriggerBase.ExitActions Property

Gets a collection of TriggerAction objects to apply when the trigger object becomes inactive. This property does not apply to the EventTrigger class.

Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

'Declaration
Public ReadOnly Property ExitActions As TriggerActionCollection
<object>
  <object.ExitActions>
    OneOrMoreTriggerActions
  </object.ExitActions >
</object>

XAML Values

OneOrMoreTriggerActions

One or more TriggerAction objects.

Property Value

Type: System.Windows.TriggerActionCollection
The default value is Nothing.

This property does not apply to the EventTrigger class because an event represents a point in time while EnterActions and ExitActions correspond to object states. For EventTrigger objects, use the Actions property instead.

NoteNote

This property can only be set in Extensible Application Markup Language (XAML) via the collection syntax shown, or by accessing the collection object and using its various methods such as Add. The property to access the collection object itself is read-only, the collection itself is read-write.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft