Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

TriggerBase.EnterActions Property

Definition

Namespace:
System.Windows
Assembly:
PresentationFramework.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 property System::Windows::TriggerActionCollection ^ EnterActions { System::Windows::TriggerActionCollection ^ get(); };
public System.Windows.TriggerActionCollection EnterActions { get; }
member this.EnterActions : System.Windows.TriggerActionCollection
Public ReadOnly Property EnterActions As TriggerActionCollection

Property Value

The default value is null.

Remarks

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.

Note

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.

XAML Property Element Usage

<object>
 <object.EnterActions>
 OneOrMoreTriggerActions
 </object.EnterActions >
</object>

XAML Values

OneOrMoreTriggerActions One or more TriggerAction objects.

Applies to


Feedback

Was this page helpful?