How to improve performance of Wpf DataGrid for high frequency cell updates (.net 4.5)? -


i using datagrid control on wpf desktop application developed c# 4.5. datagrid has 150 rows , 5 colums. each cell updated 2-3 times per minute using begininvoke dispatcherpriority.background. here's code snippet of datagrid:

<datagrid itemssource="{binding simulations, isasync=true}" autogeneratecolumns="false" canuserdeleterows="false" canuseraddrows="false" canuserresizecolumns="true"                 columnwidth="*" canuserresizerows="true" canuserreordercolumns="false" selecteditem="{binding selectedsimulation}"                        enablerowvirtualization="true"                       enablecolumnvirtualization="true">                 <datagrid.columns>                     <datagridtextcolumn header="nome cenario geológico" isreadonly="true" binding="{binding path=geologicalscenarioname, updatesourcetrigger=propertychanged, isasync=true}" />                     <datagridtextcolumn header="estado da simulação" isreadonly="true" binding="{binding path=jobstatus, updatesourcetrigger=propertychanged}" />                     <datagridhyperlinkcolumn header="link para pasta de trabalho" isreadonly="true" binding="{binding path=localfolderpath, isasync=true}">                         <datagridhyperlinkcolumn.elementstyle>                             <style>                                 <eventsetter event="hyperlink.click" handler="simulationhyperlinkclick"/>                             </style>                         </datagridhyperlinkcolumn.elementstyle>                     </datagridhyperlinkcolumn>                     <datagridtemplatecolumn>                         <datagridtemplatecolumn.celltemplate>                             <datatemplate>                                 <button isenabled="{binding path=cancancelsimulation, updatesourcetrigger=propertychanged, isasync=true}" click="buttonbaseonclicksim">cancelar simulação</button>                             </datatemplate>                         </datagridtemplatecolumn.celltemplate>                     </datagridtemplatecolumn>                     <datagridtextcolumn header="tempo" isreadonly="true" binding="{binding path=timerunning, updatesourcetrigger=propertychanged, isasync=true}" />                 </datagrid.columns>             </datagrid> 

the problem ui unresponsive due number of updates. can give me clue how improve performance?

thankx


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -