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)

member ExitActions : TriggerActionCollection with get

Property Value

Type: System.Windows.TriggerActionCollection

The default value is null.

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.

System_CAPS_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.

<object>
  <object.ExitActions>
    OneOrMoreTriggerActions
  </object.ExitActions >
</object>

OneOrMoreTriggerActions

One or more TriggerAction objects.

.NET Framework
Available since 3.0
Return to top
Show: