How to Use Crosslight to Add ListView on Forms with Navigation Mode

7 replies. Last post: March 4, 2016 9:01 AM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Jimmy TungolMember

Hi,

Please provide the syntax used with ListViewAttribute on forms with navigation mode. We tried the code below, but something goes terribly wrong when closing the form or view. It returns an error and crashes the app. See attached file:

[Editor(EditorType.ListView)]
[ListView(DisplayMemberPath = "ContactName", InteractionMode = ListViewInteractionMode.Navigation)]
[SelectedItemBinding(Path = "SelectedContactItem")]
public IList<LocationContact> Contacts;
  

Please review and see if anything else is needed. We also tried specifying the viewmodel type on ListViewAttribute but nothing works as opposed to what is expected.

Thanks!

All times are GMT -5. The time now is 11:46 AM.
Previous Next