阅读背景:

如何在WPF中的TabItem上预呈现控件?

来源:互联网 

C# XBap Application

C#XBap应用程序

I have a TabControl with four TabItems in it. Two of these TabItems simply contain a DataGrid from the WPFToolkit which pulls a fairly small datatable (100 rows by 4 columns) from a SQL Server database. My problem is that when I load my application and I click on one of the TabItems containing a datagrid. There seems to me a 2-3 second pause before it brings that tab into focus. This only happens the very first time the tab is clicked. It seems to be the rendering of the datagrid. I have a Tab




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: