Silverlight Control Disable/Remove Events

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-06-08T16:57:03Z Indexed on 2010/06/08 19:12 UTC
Read the original article Hit count: 470

Filed under:
|
|
|

I have a scenario where a control has an event wired up in XAML, say a Button.Click.

Somewhere else in my code, a security check is applied which mean I need to disable said event, but I do not have access to the normal -= syntax to remove it.

How else can I remove or disable this event?

Thanks, Dave

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about event