Design-time events for custom controls?

JonasRembrattJonasRembratt ✭✭✭SEUniversity ✭✭✭

I'm trying to get deeper into writing custom controls but I've stumbled upon something I can't seem to find any info on: Design-time events.

So, I created a custom control that sports a text label and two images. The images supports tap gesture and I have created two events to be triggered by those events. It all works but how do I make them available in the designer "events" tab?

Using the ExportAttribute, like with properties, doesn't work so how do I make the events available design-time?

Answers

  • JonasRembrattJonasRembratt ✭✭✭ SEUniversity ✭✭✭

    No one?

  • Vaclav_DajbychVaclav_Dajbych ✭✭ CZMember ✭✭

    I'm also interested how to do that. I don't see any events in Properties window even when I inherit my control from the UIButton.

Sign In or Register to comment.