I am using XamlWriter.Save and XamlReader.Load to save and load my canvas; Canvas may contain a number of user controls(present in seprate library) having various controls like textbox, grid, and thirdparty controls(gauge, chart etc.).
The problem I am facing is that, I am not able to load any xaml in which i have named any control*using Name or x:Name); as mentioned in this thread -
Is there any better solution/workaround for this?
If not then how can we implement the solution provided in this thread in case we don't know the exact number and name of controls?e.g. I dont know the number of buttons present in the namescope and there names.
View Complete Post