CallHandler


The CallHandler operation creates an association between the object it is attached to and the a method or function by using the Path supplied. It is a form of syntactic sugar for a very common usage of a call inside an event handler. Specifically:

    <p:CallHandler Path="EventPath => CallPath" Property1 Property2 Property3/>
 

means exactly the same as:

    <p:EventHandler Path="EventPath">
        <p:Call Path="CallPath"  Property1 Property2 Property3/>
    </p:EventHandler>
 

only it is more concise.

In other words, see EventHandler and Call for further details.

@hash=ea7ba872@

Last edited Mar 31, 2011 at 3:43 AM by jrs, version 5

Comments

No comments yet.