Class CallMethodActionWithParemeter
Calls a method on a specified object when invoked.
public class CallMethodActionWithParemeter : TriggerAction<DependencyObject>, IAnimatable, IAttachedObject
- Inheritance
-
CallMethodActionWithParemeter
- Implements
- Inherited Members
- Extension Methods
Fields
MethodNameProperty
public static readonly DependencyProperty MethodNameProperty
Field Value
ParameterProperty
public static readonly DependencyProperty ParameterProperty
Field Value
TargetObjectProperty
public static readonly DependencyProperty TargetObjectProperty
Field Value
Properties
MethodName
The name of the method to invoke. This is a dependency property.
public string MethodName { get; set; }
Property Value
Parameter
public object Parameter { get; set; }
Property Value
TargetObject
The object that exposes the method of interest. This is a dependency property.
public object TargetObject { get; set; }
Property Value
Methods
Invoke(object)
Invokes the action.
protected override void Invoke(object parameter)
Parameters
parameter
objectThe parameter of the action. If the action does not require a parameter, the parameter may be set to a null reference.