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

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -