C# Class System.Windows.Interactivity.Behavior

Triggers are attachable objects that encapsulate some logic to determine when they are activated. They execute their associated action whenever they are activated.
Inheritance: System.Windows.FrameworkElement, IAttachedObject
显示文件 Open project: nikhilk/silverlightfx Class Usage Examples

Private Properties

Property Type Description
Behavior System
IAttachedObject void
IAttachedObject void

Protected Methods

Method Description
OnAttach ( ) : void

Allows the trigger to attach to its associated object.

OnDetach ( ) : void

Allows the trigger to detach from its associated object.

Private Methods

Method Description
Behavior ( ) : System
IAttachedObject ( ) : void
IAttachedObject ( DependencyObject associatedObject ) : void

Method Details

OnAttach() protected method

Allows the trigger to attach to its associated object.
protected OnAttach ( ) : void
return void

OnDetach() protected method

Allows the trigger to detach from its associated object.
protected OnDetach ( ) : void
return void