【发布时间】:2018-11-19 14:17:17
【问题描述】:
我在我的 xaml 中使用 listView 进行数据透视。 ListView 的名称为“NoteItems: 我无法编写完整的 xaml 代码,因此我提供了文档链接。 https://drive.google.com/open?id=1wcbvdex25zV8_AYWjLfLC9fs9T1XsSo9
但 xaml.cs 在此字符串中有错误“当前上下文中不存在名称“NoteItems””:
NoteItems.DragOver += OnStepsListViewDragOver;
(NoteItems.ItemsSource as INotifyCollectionChanged).CollectionChanged += OnStepsCollectionChanged;
【问题讨论】:
-
你能提供整个 xaml 吗?
-
@FastJack 我可以在哪里编写我的 xaml 代码?