2
有没有什么方法可以在运行时创建新页面?在运行时添加新页面
也许在cs中生成XAML并将它们添加到应用程序中?
TY
新: 好吧,我会尽量解释这一点更好:
我想创建从多个控制JSON动态应用程序的页面。
例如:
{
"pages": [
{
"title": "Page 1",
"controls": [
{
"button": [
{
"text": "Testbutton",
"value": "clear",
}
]
},
{
"textview": [
{
"value": "enter some text"
}
]
}
]
},
{
"title": "Page 2",
"controls": [
{..}
]
}
]
}
所以我要生成它们灵活,因为JSON会不会在每个负载一样。
我想你应该解释你为什么要这样做,因为你可能走错了路。 –