我的silverlight用的是vb.net,以上语句转换后
把TryCast(App.Current.RootVisual, IContent).Content = New Tra_Data_List()放在验证通过后的方法里,Tra_Data_List是我要显示的页面
Public Interface IContent
'private _Content() As UIElement 这一句注释掉了,不然显示“接口成员必须是方法,属性“
Property Content() As UIElement
End Interface
放在同一页面里,运行后显示“未将对象引用设置到对象的实例”
这是什么原因