Hey,
i implemented a DatGrid inside a Tabitem and fill it with class which looks like this:
public class DataGrid_ContentClass { public ImageSource _ImageSource { get; set; } public string _FileName { get; set; } public string _FileExtension { get; set; } public string _FileSize { get; set; } public bool _IsFile { get; set; } public string _LastDateModified { get; set; } public string[] _array { get; set; } }
i don't wont to use an ObservableCollection!!!!!
The purpose of the grid is, to hold items to Display files and Folders inside a Directory.
But now, following happened, from Directory to Directory the Grid gets slower and slower and i donÄt know why.
At the end i get an "Out of Memory" Exception.
I fill the DataGird with
DataGrid.Items.Add (new DataGrid_ContentClass );