c# - WPF multiple controls OutOfMemory -
i made control myself "fake" detail grid. every row single control means need lot of them. i'm trying store them in stackpanel located in scrollviewer.
when add control memory usage of executable climbs 10mb. when trying use draw 110 data packages climbing 1.5gb , throws outofmemory exception.
control minimalistic.. no executions, few labels, vector graphics, expander , set of 3 more controls (only multiple labels).
how can solve problem?
it seems you're trying have template each of cells. should use item controls , template achieve instead, take here is there datatemplate grid panel elements in wpf?, here wpf - display single entity data template , here itemscontrol itemtemplate binding examples , more info on how use them.
Comments
Post a Comment