HighTechTalks DotNet Forums  

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

Dotnet General Discussions microsoft.public.dotnet.general


Discuss Quest: WinForms --> WPF - with ListViewSubItemCollection... in the Dotnet General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
bj7lewis
 
Posts: n/a

Default Quest: WinForms --> WPF - with ListViewSubItemCollection... - 11-19-2007 , 10:52 PM






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?


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.