Esempio n. 1
0
 private void InitFieldListViewIfNeeded()
 {
     if (fieldListView == null)
     {
         fieldListView = new FieldListView();
         fieldListView.SetDataContext(noteFieldView.fieldsViewModel);
         fieldListView.FieldClickEvent += FieldListViewClickEventHandler;
     }
 }
Esempio n. 2
0
 private void InitFlyoutAndViewModelIfNeeded()
 {
     if (fieldListView == null)
     {
         fieldListView       = new FieldListView();
         noteFieldsViewModel = new NoteFieldsViewModel(templateInformationView.ViewModel.CurrentModel);
         fieldListView.SetDataContext(noteFieldsViewModel);
         fieldListView.FieldClickEvent += FieldFlyoutButtonClickHandler;
     }
 }