Hi all, I want to use the .Net ListView in AX2012 form via managed host control.
The problem is it tells the declaration below is "syntax error":
System.Windows.Forms.ListView.ListViewItemCollection listItems;
I need this listItems variable to add item into the list view like:
listItems = listview_control.get_Items();
listItems.add(new ListViewItem('xxx'));
It seems X++ does not recognize System.Windows.Forms.ListView.ListViewItemCollection.
Any one know the solution?