>Is there a way to determine if a button's click event has at least one
>handler by using reflection?
No reliable way from outside the Button class, no.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
TT (Tom Tempelaere) - 14 Jul 2005 15:41 GMT
Can't you check the event against null to verify that condition?

Signature
Tom Tempelaere.
"Mattias Sjögren" wrote:
> >Is there a way to determine if a button's click event has at least one
> >handler by using reflection?
>
> No reliable way from outside the Button class, no.
>
> Mattias