Quest: WinForms --> WPF - with ListViewSubItemCollection...

Quest: WinForms --> WPF - with ListViewSubItemCollection...

am 20.11.2007 04:52:45 von bj7lewis

WPF doesn't have ListViewSubItemCollection equall just ListViewItem that
takes a content object but is arranged & clipped to the last cell in the
column of given row....

I have a C# .NET 1.1 that saves all app data in user XML file thur
XmlTextReader & XmlTextWriter. I load the XML file in to custom classes
objects...

public class ListViewRow : Object
{
public ... SubItems0;
...
public ... SubItems#;
}

.... //Somewhere in code I stuff above object into ArrayList...
public ArrayList ListViewRows = new ArrayList();
ListViewRows.Add(ListViewRow#Obj);
ListViewRows.Add(ListViewRow#Obj);
ListViewRows.Add(ListViewRow#Obj);
....

.... //Later Somewhere else in code I populate the ListView w/ ListViewRows
using
ListViewObj.Items[#].SubItems.Add((...).ToString());
....

What is the ListViewSubItemCollection similar WPF XAML setup?