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
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