我不能让Bindable LINQ在我的生活中使用VB.NET。如何显示.AsBindable扩展?
示例代码:
Class TestList : Inherits Bindable.Linq.Collection.BindableCollection(Of TestItem)
'Some Helpers and stuff'
End Class
Class TestItem
'Some Properties'
End Class
想象一下,我神奇地想出了一个装满物品的系列。我会尝试类似下面的内容
DataContext = From G In TheList.AsBindable Order By G.Name
但是我在.AsBindable上收到错误“AsBindable不是TestList的成员”
答案 0 :(得分:1)
不要取笑我,但我所要做的就是导入Bindable.Linq