Skip to main content

MethodToCommandBehavior Members

Binds a method of a ViewModel or control to a Command property of a control on a View.

Constructors

Name Description
MethodToCommandBehavior() Initializes a new instance of the MethodToCommandBehavior class.

Fields

Name Description
Arg10Property static Identifies the FunctionBindingBehaviorBase.Arg10 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg11Property static Identifies the FunctionBindingBehaviorBase.Arg11 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg12Property static Identifies the FunctionBindingBehaviorBase.Arg12 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg13Property static Identifies the FunctionBindingBehaviorBase.Arg13 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg14Property static Identifies the FunctionBindingBehaviorBase.Arg14 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg15Property static Identifies the FunctionBindingBehaviorBase.Arg15 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg1Property static Identifies the FunctionBindingBehaviorBase.Arg1 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg2Property static Identifies the FunctionBindingBehaviorBase.Arg2 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg3Property static Identifies the FunctionBindingBehaviorBase.Arg3 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg4Property static Identifies the FunctionBindingBehaviorBase.Arg4 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg5Property static Identifies the FunctionBindingBehaviorBase.Arg5 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg6Property static Identifies the FunctionBindingBehaviorBase.Arg6 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg7Property static Identifies the FunctionBindingBehaviorBase.Arg7 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg8Property static Identifies the FunctionBindingBehaviorBase.Arg8 dependency property. Inherited from FunctionBindingBehaviorBase.
Arg9Property static Identifies the FunctionBindingBehaviorBase.Arg9 dependency property. Inherited from FunctionBindingBehaviorBase.
CanExecuteFunctionProperty static Identifies the MethodToCommandBehavior.CanExecuteFunction dependency property.
CommandParameterProperty static Identifies the MethodToCommandBehavior.CommandParameter dependency property.
CommandProperty static Identifies the MethodToCommandBehavior.Command dependency property.
MethodProperty static Identifies the MethodToCommandBehavior.Method dependency property.
SourceProperty static Identifies the FunctionBindingBehaviorBase.Source dependency property. Inherited from FunctionBindingBehaviorBase.
TargetProperty static Identifies the FunctionBindingBehaviorBase.Target dependency property. Inherited from FunctionBindingBehaviorBase.

Properties

Name Description
Arg1 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg10 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg11 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg12 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg13 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg14 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg15 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg2 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg3 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg4 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg5 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg6 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg7 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg8 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Arg9 Gets or sets an argument. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
CanExecuteFunction Gets or sets the name of a function that determines whether the Method can be executed. This is a dependency property.
Command Gets or sets a Target object’s command property name that should be bound to the specified Method. This is a dependency property.
CommandParameter Gets or sets the command parameter. This is a dependency property.
HasAnimatedProperties Gets a value that indicates whether one or more AnimationClock objects is associated with any of this object’s dependency properties. Inherited from Animatable.
Method Gets or sets the name of a Source object’s method that should be invoked. This is a dependency property.
Source Gets or sets an object whose method or a function should be executed. This is a dependency property. Inherited from FunctionBindingBehaviorBase.
Target Gets or sets a target object. This is a dependency property. Inherited from FunctionBindingBehaviorBase.

Methods

Name Description
ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the specified HandoffBehavior is used. Inherited from Animatable.
ApplyAnimationClock(DependencyProperty, AnimationClock) Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the SnapshotAndReplace handoff behavior is used. Inherited from Animatable.
BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the specified HandoffBehavior is used. Inherited from Animatable.
BeginAnimation(DependencyProperty, AnimationTimeline) Applies an animation to the specified DependencyProperty. The animation is started when the next frame is rendered. If the specified property is already animated, the SnapshotAndReplace handoff behavior is used. Inherited from Animatable.
Clone() Creates a modifiable clone of this Animatable, making deep copies of this object’s values. When copying this object’s dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values. Inherited from Animatable.
GetAnimationBaseValue(DependencyProperty) Returns the non-animated value of the specified DependencyProperty. Inherited from Animatable.
ShouldSerializeStoredWeakReference(DependencyObject) static Specifies whether a dependency object should be serialized. Inherited from Animatable.
See Also