Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a behavior that listens for a specified event on its source and executes its actions when that event is fired.
Inheritance Hierarchy
System.Object
DependencyObject
Microsoft.Xaml.Interactions.Core.EventTriggerBehavior
Namespace: Microsoft.Xaml.Interactions.Core
Assembly: Microsoft.Xaml.Interactions (in Microsoft.Xaml.Interactions.dll)
Syntax
'Declaration
Public NotInheritable Class EventTriggerBehavior _
Inherits DependencyObject _
Implements IBehavior
public sealed class EventTriggerBehavior : DependencyObject,
IBehavior
public ref class EventTriggerBehavior sealed : public DependencyObject,
IBehavior
[<Sealed>]
type EventTriggerBehavior =
class
inherit DependencyObject
interface IBehavior
end
public final class EventTriggerBehavior extends DependencyObject implements IBehavior
The EventTriggerBehavior type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
EventTriggerBehavior | Initializes a new instance of the EventTriggerBehavior class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
Actions | Gets the collection of actions associated with the behavior. This is a dependency property. |
![]() |
AssociatedObject | Gets the DependencyObject to which the IBehavior will be attached. |
![]() |
Dispatcher | (Inherited from DependencyObject.) |
![]() |
EventName | Gets or sets the name of the event to listen for. This is a dependency property. |
![]() |
SourceObject | Gets the SourceObject dependency property. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Attach | Attaches to the specified object. |
![]() |
ClearValue | (Inherited from DependencyObject.) |
![]() |
Detach | Detaches this instance from its associated object. |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
GetAnimationBaseValue | (Inherited from DependencyObject.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
GetValue | (Inherited from DependencyObject.) |
![]() |
ReadLocalValue | (Inherited from DependencyObject.) |
![]() |
SetValue | (Inherited from DependencyObject.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
| Name | Description | |
|---|---|---|
![]() ![]() |
ActionsProperty | Specifies the collection of actions associated with the behavior. |
![]() ![]() |
EventNameProperty | Specifies the name of the event to listen for. |
![]() ![]() |
SourceObjectProperty | Identifies the SourceObject dependency property. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)