Share via


TriggerBase.Attach Method

Attaches to the specified object.

Namespace: System.Windows.Interactivity
Assembly: System.Windows.Interactivity (in system.windows.interactivity.dll)

Syntax

'Declaration
Public Sub Attach ( _
    dependencyObject As DependencyObject _
)
'Usage
Dim instance As TriggerBase
Dim dependencyObject As DependencyObject

instance.Attach(dependencyObject)
public void Attach (
    DependencyObject dependencyObject
)
public:
virtual void Attach (
    DependencyObject^ dependencyObject
) sealed
public final void Attach (
    DependencyObject dependencyObject
)
public final function Attach (
    dependencyObject : DependencyObject
)

Parameters

dependencyObject

The object to attach to.

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

TriggerBase Class
TriggerBase Members
System.Windows.Interactivity Namespace