I am basically making a listview and have that bound to a wpf listview. Here is a snippit of a piece of my code. I am trying to output the listview to streamwriter, but only know how to do that in a text box. How would I convert the listview to text or a textbox to save to a file with stream writer?
List<House> Inventory = new List<House>();
Inventory.Add(new House() { Price = "105000", Address = "789 Burn Street", Zip = "83619", Bedrooms = "1", Bathrooms = "1", Sqft = "885", Year = "1954", HOA = "450" });
lvInventory.ItemsSource = new List<House>();