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
associatedObject
Type: DependencyObjectThe DependencyObject to which the IBehavior will be attached.
Implements
IBehavior.Attach(DependencyObject)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.