CallMethodAction Class
Represents an action that calls a method on a specified object when invoked.
Inheritance Hierarchy
System.Object
DependencyObject
Microsoft.Xaml.Interactions.Core.CallMethodAction
Namespace: Microsoft.Xaml.Interactions.Core
Assembly: Microsoft.Xaml.Interactions (in Microsoft.Xaml.Interactions.dll)
Syntax
'Declaration
Public NotInheritable Class CallMethodAction _
Inherits DependencyObject _
Implements IAction
public sealed class CallMethodAction : DependencyObject,
IAction
public ref class CallMethodAction sealed : public DependencyObject,
IAction
[<Sealed>]
type CallMethodAction =
class
inherit DependencyObject
interface IAction
end
public final class CallMethodAction extends DependencyObject implements IAction
The CallMethodAction type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CallMethodAction | Initializes a new instance of the CallMethodAction class. |
Top
Properties
Name | Description | |
---|---|---|
Dispatcher | (Inherited from DependencyObject.) | |
MethodName | Gets or sets the name of the method to invoke. This is a dependency property. | |
TargetObject | Gets or sets the object that exposes the method of interest. This is a dependency property. |
Top
Methods
Name | Description | |
---|---|---|
ClearValue | (Inherited from DependencyObject.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Execute | Executes the action. | |
GetAnimationBaseValue | (Inherited from DependencyObject.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue | (Inherited from DependencyObject.) | |
ReadLocalValue | (Inherited from DependencyObject.) | |
SetValue | (Inherited from DependencyObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
MethodNameProperty | Specifies the name of the method to invoke. | |
TargetObjectProperty | Specifies the object that exposes the method of interest. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.