Table of Contents

Class EventToCommandBehavior

Namespace
Innova.Prism.Library.Commands
Assembly
Innova.Prism.Library.dll

Represents a behavior that binds an event to a command.

public class EventToCommandBehavior : Behavior<FrameworkElement>, IAnimatable, IAttachedObject
Inheritance
EventToCommandBehavior
Implements
IAttachedObject
Extension Methods

Fields

CommandParameterProperty
CommandProperty
EventProperty
PassParameterProperty

Properties

Command

Gets or sets the command to execute when the event is triggered.

CommandParameter

Gets or sets the parameter to pass to the command.

Event

Gets or sets the name of the event to bind.

PassParameter

Gets or sets a value indicating whether to pass the parameter to the command.

Methods

OnAttached()

Called after the behavior is attached to an AssociatedObject.