1
XmlReader tXml = XmlReader.Create(new StringReader("certain xaml code which has the desired layout..."));
UIElement MyElement = (UIElement) XamlReader.Load(tXml.ToString());
我需要在hubsection中動態添加在運行時創建的MyElement
。我怎麼能做到這一點?動態添加內容到hubsection xaml
謝謝!