I am using WindowsFormsIntegration in a WPF project to add a DataGridView and I am having some problems with it simply being drawn in the window (it takes a while).
I am aware of the solution with the doublebuffered datagridview but how can you use this in XAML for WPF or in C# for WPF?
An example of the doublebuffered datagridview in WPF with WindowsFormsIntegration or any alternative solution would really be appreciated!!
Thank you for any help provided!
Edit:
I am using Microsoft Expression Blend 2 for the interface and I noticed it generated a Resource Dictionary. Removing some of the styling in there actually solved part of the problem but I keep getting the same problem. The actions that are leading to make the GroupBox that contains the DataGridView to be visible are: clicking on a tab control then choosing a RadioButton. Once a certain RadioButtion is checked, a certain GroupBox becomes visible. It contains the WindowsFormsIntegration host which itself contains the DataGridView but the WindowsFormsIntegration does not appear (or is not drawn) until I take the mouse and put it over a button inside the GroupBox... Is Expression Blend responsible for my problems?