Page 1 of 1

NoesisGUI Unity 4.0.0b5 and using UserControl

Posted: 24 Oct 2025, 20:56
by roozbehid
Is this feature working?
Meaning if I put a usercontrol in my page, should I clicking on "Start" button inside Studio display the control?
I tried several of samples like AnimatedNumber or NineSlice and it didnt work. I didnt tried the unity one...but I was hoping it would work insdie studio

Re: NoesisGUI Unity 4.0.0b5 and using UserControl

Posted: 27 Oct 2025, 11:34
by sfernandez
Hello,

I have tested creating a UserControl in Unity and then adding it to a page with Noesis Unity 4.0.0b5 and it works as expected. The key is that UserControl needs code to load its associated xaml.

I have attached a small example that explains how it's done: take a look at MyControl.xaml.cs constructor.

Hope it helps, cheers.

Re: NoesisGUI Unity 4.0.0b5 and using UserControl

Posted: 27 Oct 2025, 13:51
by roozbehid
Great thanks it worked.
That would be great if in next versions you also ship examples like this or your many examples like AnimatedNumber, 9Slice, etc. also as part of package

Re: NoesisGUI Unity 4.0.0b5 and using UserControl

Posted: 28 Oct 2025, 11:00
by jsantos
Thank you for the feedback! We really appreciate it.

And yes, we’re actively working on adding more samples as part of future beta releases.