MethodToCommandBehavior Class

Behavior class that allows you to bind a method to a property of type ICommand.

Definition

Namespace: Aliquo.Windows.Controls
Assembly: Aliquo.Windows.Controls (in Aliquo.Windows.Controls.dll) Version: 5.0.9179.22656
C#
public class MethodToCommandBehavior : Behavior<DependencyObject>
Inheritance
Object    DispatcherObject    DependencyObject    Freezable    Animatable    Behavior    BehaviorDependencyObject    MethodToCommandBehavior

Constructors

MethodToCommandBehaviorInitializes a new instance of the MethodToCommandBehavior class

Properties

Arg1 Gets or sets an argument of the associated method.
Arg2 Gets or sets an argument of the associated method.
Arg3 Gets or sets an argument of the associated method.
Arg4 Gets or sets an argument of the associated method.
Arg5 Gets or sets an argument of the associated method.
Arg6 Gets or sets an argument of the associated method.
Arg7 Gets or sets an argument of the associated method.
Arg8 Gets or sets an argument of the associated method.
Arg9 Gets or sets an argument of the associated method.
Command Gets or sets the command that will execute the associated method.
IsActive Set to false if we do not want the behavior to be applied.
Method Gets or sets the name of the method to execute.
Source Gets or sets the source object of the method to execute.
Target Gets or sets the target object of the associated command.

Fields

Arg1Property Identifies the dependency property Arg1.
Arg2Property Identifies the dependency property Arg2.
Arg3Property Identifies the dependency property Arg3.
Arg4Property Identifies the dependency property Arg4.
Arg5Property Identifies the dependency property Arg5.
Arg6Property Identify the dependency property Arg6.
Arg7Property Identify the dependency property Arg7.
Arg8Property Identifies the dependency property Arg8.
Arg9Property Identifies the dependency property Arg8.
CommandProperty Identify the dependency property Command.
IsActiveProperty Identifies the dependency property IsActive.
MethodProperty Identifies the dependency property Method.
SourceProperty Identifies the dependency property Source.
TargetProperty Identifies the dependency property Target.

Extension Methods

GetAttributeFromT Get attribute from a class.
(Defined by ObjectExtensions)
ValidateDataAnnotations Validate class with validator of DataAnnotations.
(Defined by ObjectExtensions)

See Also