Share via


Interaction Class

Defines a BehaviorCollection attached property and provides a method for executing an ActionCollection.

Inheritance Hierarchy

System.Object
  Microsoft.Xaml.Interactivity.Interaction

Namespace:  Microsoft.Xaml.Interactivity
Assembly:  Microsoft.Xaml.Interactivity (in Microsoft.Xaml.Interactivity.dll)

Syntax

'Declaration
Public NotInheritable Class Interaction
public sealed class Interaction
public ref class Interaction sealed
[<Sealed>]
type Interaction =  class end
public final class Interaction

The Interaction type exposes the following members.

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodStatic member ExecuteActions Executes all actions in the ActionCollection and returns their results.
Public methodStatic member GetBehaviors Gets the BehaviorCollection associated with a specified object.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member SetBehaviors Sets the BehaviorCollection associated with a specified object.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member BehaviorsProperty Gets or sets the BehaviorCollection associated with a specified object.

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.

See Also

Reference

Microsoft.Xaml.Interactivity Namespace

ActionCollection