Problem with WPF perfomance.

Posted by Polaris on Stack Overflow See other posts from Stack Overflow or by Polaris
Published on 2010-04-02T09:47:51Z Indexed on 2010/04/02 9:53 UTC
Read the original article Hit count: 563

Filed under:
|

I have form which has many tabs. Every tab has many controls textboxes, comboboxes, datagrids and e .t.c. I bind form to one data source in such way

this.DataContext=MyClassInstance

But with this way my form opening very slow. about one minute.

When I comment above code, form opens very quickly. All My controls I bound to the class properties in XAML. Please tell me the way to bind every tab when it's activated, or bind controls in background thread or any other idea which can help me to speed up my form.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about Performance