Class EventTrigger
Represents a trigger that applies a set of actions (animation storyboards) in response to an event.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows
Assembly: OpenSilver.dll
Syntax
public sealed class EventTrigger : TriggerBase
Constructors
| Improve this Doc View SourceEventTrigger()
Initializes a new instance of the EventTrigger class.
Declaration
public EventTrigger()
Properties
| Improve this Doc View SourceActions
Gets the collection of BeginStoryboard objects that this EventTrigger maintains.
Declaration
public TriggerActionCollection Actions { get; }
Property Value
Type | Description |
---|---|
TriggerActionCollection | The existing TriggerActionCollection. |
RoutedEvent
Gets or sets the name of the event that initiates the trigger.
Declaration
public RoutedEvent RoutedEvent { get; set; }
Property Value
Type | Description |
---|---|
RoutedEvent | The name or identifier of the event. See Remarks. |