Mel
Mel

Reputation: 2075

UIElement.AddHandler

Has this been removed from silverlight 3? http://msdn.microsoft.com/en-us/library/ms598899%28VS.95%29.aspx

I see documentation on how to use it, but when I try it says UIElement doesn't have an addhandler method

Upvotes: 0

Views: 974

Answers (1)

JML
JML

Reputation: 409

Hm, seems to work for me..

    UIElement asdf = new Canvas();
    asdf.AddHandler(ucConveyor.MouseLeftButtonDownEvent, TestFunction, false);

Can you paste your code?

Upvotes: 1

Related Questions