1
Answer

XAML in XAML

Ask a question
person

person

14y
2k
1
Hi,
I have a xaml usercontrol, and I want to add another user control into this.

I have added the namespace for the usercontrol -  xmlns:time="clr-namespace:My.UserControls"

Now I use - <time:MyUserControl1/> - in my code, however none of the events assigned to "MyUserControl1" are being executed.
Does anyone know why this is or how to ensure that these are executed by the embedded xaml.

Thanks,

Person.

Answers (1)
Next Recommended Forum