Freigeben über


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
Public method CallMethodAction Initializes a new instance of the CallMethodAction class.

Top

Properties

  Name Description
Public property Dispatcher (Inherited from DependencyObject.)
Public property MethodName Gets or sets the name of the method to invoke. This is a dependency property.
Public property TargetObject Gets or sets the object that exposes the method of interest. This is a dependency property.

Top

Methods

  Name Description
Public method ClearValue (Inherited from DependencyObject.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Execute Executes the action.
Public method GetAnimationBaseValue (Inherited from DependencyObject.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue (Inherited from DependencyObject.)
Public method ReadLocalValue (Inherited from DependencyObject.)
Public method SetValue (Inherited from DependencyObject.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member MethodNameProperty Specifies the name of the method to invoke.
Public fieldStatic member 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.

See Also

Reference

Microsoft.Xaml.Interactions.Core Namespace