Interface IBehavior
Interface implemented by all custom behaviors.
Namespace: EmptyKeys.UserInterface.Interactivity
Assembly: EmptyKeys.UserInterface.dll
Syntax
public interface IBehavior
Properties
AssociatedObject
Gets the DependencyObject to which the IBehavior is attached.
Declaration
DependencyObject AssociatedObject { get; }
Property Value
Type | Description |
---|---|
DependencyObject |
Methods
Attach(DependencyObject)
Attaches to the specified object.
Declaration
void Attach(DependencyObject associatedObject)
Parameters
Type | Name | Description |
---|---|---|
DependencyObject | associatedObject | The DependencyObject to which the IBehavior will be attached. |
Detach()
Detaches this instance from its associated object.
Declaration
void Detach()