silverlight动态添加xaml物件


 
如动态添加物件需要定义x:Name属性,必须在前面加上xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
原文地址:https://www.cnblogs.com/zwl12549/p/1010822.html