IBehavior Interface

Interface implemented by all custom behaviors.

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

Syntax

'Declaration
Public Interface IBehavior
public interface IBehavior
public interface class IBehavior
type IBehavior =  interface end
public interface IBehavior

The IBehavior type exposes the following members.

Properties

  Name Description
Public property AssociatedObject Gets the DependencyObject to which the IBehavior is attached.

Top

Methods

  Name Description
Public method Attach Attaches to the specified object.
Public method Detach Detaches this instance from its associated object.

Top

See Also

Reference

Microsoft.Xaml.Interactivity Namespace