Adding controls to canvas dynamically
I'm trying to evaluate Noesis for porting a quite big WPF application. I'm trying to add controls to a canvas by dynamically loading xaml. But no controls are added to the canvas, or rather I can see that they are added as Children but never get rendered. I get the following error in the output: Null item added to UIElementCollection.
The WPF version works and I have code that reproduces this scenario in Noesis. Is it possible to dynamically load controls in Noesis?
The WPF version works and I have code that reproduces this scenario in Noesis. Is it possible to dynamically load controls in Noesis?
Re: Adding controls to canvas dynamically
Yes, it is a supported scenario. Could you please paste your code here? Thanks.
Re: Adding controls to canvas dynamically
I created a small app that reproduces this, please let me know where I should post a zipped file.
-
-
sfernandez
Site Admin
- Posts: 3363
- Joined:
Re: Adding controls to canvas dynamically
You can upload the sample to the cloud and share the link here or in a ticket in our bugtracker.
Re: Adding controls to canvas dynamically
I just submitted a ticket with a link to the sample app. Thank you.
https://www.noesisengine.com/bugs/view.php?id=2521
https://www.noesisengine.com/bugs/view.php?id=2521
Re: Adding controls to canvas dynamically
Thank you for the ticket!
Who is online
Users browsing this forum: Bing [Bot] and 3 guests