How to copy all event handlers one control to another at runtime in winui

28 Views Asked by At

I need to copy events of one control to another control.

In winui, Only have GetEvents() not GetHandlers(). How to achieve this.

Tried to clone a control. Copied all the properties using GetProproperties() method. But stuck in events.

0

There are 0 best solutions below