Event handler for a container

Hi everyone,

i am using a lot of containers with eventdefinitions in a window.

I know how to add an eventhandler by adding the containercontrols to the window with drag and drop in the layout editor.
But how can i do it when i’m adding the containers in the running program, for example by pressing a button?

You would use AddHandler and RemoveHandler


there was a topic about

How to talk from embedded containerControl to the window