Share via


EventTriggerBehavior.Attach Method

Attaches to the specified object.

Namespace:  Microsoft.Xaml.Interactions.Core
Assembly:  Microsoft.Xaml.Interactions (in Microsoft.Xaml.Interactions.dll)

Syntax

'Declaration
Public Sub Attach ( _
    associatedObject As DependencyObject _
)
public void Attach(
    DependencyObject associatedObject
)
public:
virtual void Attach(
    DependencyObject^ associatedObject
) sealed
abstract Attach : 
        associatedObject:DependencyObject -> unit  
override Attach : 
        associatedObject:DependencyObject -> unit
public final function Attach(
    associatedObject : DependencyObject
)

Parameters

Implements

IBehavior.Attach(DependencyObject)

.NET Framework Security

See Also

Reference

EventTriggerBehavior Class

Microsoft.Xaml.Interactions.Core Namespace

DependencyObject

IBehavior