ListView name not access in xaml.cs [duplicate]
up vote
0
down vote
favorite
This question already has an answer here:
ListBox items return string, when DataTemplate is Button
1 answer
I have pivot with listView in my xaml. ListView has name "NoteItems: I cannot write full my xaml code, so I gave link to documents. https://drive.google.com/open?id=1wcbvdex25zV8_AYWjLfLC9fs9T1XsSo9 But xaml.cs has error "The name "NoteItems" does not exist in the current context" in this string: NoteItems.DragOver += OnStepsListViewDragOver; (NoteItems.ItemsSource as INotifyCollectionChanged).CollectionChanged += OnStepsCollectionChanged;
c# xaml uwp uwp-xaml