[IronPython] how to attach silverlight event to ironpython function in dlr

young_dge at 163.com
Wed Aug 4 02:06:51 PDT 2010

in dlr 1.0 i want to do something like this
in c# code behind
class Context
   public event EventHandler OnClick
   ///register this instance as a variable name "context" in ironpython
in ironpython i want to do 
def handler(sender, e):
context.Onclick += handler
is it possible to do this in dynamic language runtime in silverlight?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20100804/4da214c6/attachment.htm>

More information about the Users mailing list