Table of Contents

Class CallMethodActionWithParemeter

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll

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

DependencyProperty

ParameterProperty

public static readonly DependencyProperty ParameterProperty

Field Value

DependencyProperty

TargetObjectProperty

public static readonly DependencyProperty TargetObjectProperty

Field Value

DependencyProperty

Properties

MethodName

The name of the method to invoke. This is a dependency property.

public string MethodName { get; set; }

Property Value

string

Parameter

public object Parameter { get; set; }

Property Value

object

TargetObject

The object that exposes the method of interest. This is a dependency property.

public object TargetObject { get; set; }

Property Value

object

Methods

Invoke(object)

Invokes the action.

protected override void Invoke(object parameter)

Parameters

parameter object

The parameter of the action. If the action does not require a parameter, the parameter may be set to a null reference.