Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在一个简单的 .Net 4.5 WPF 应用程序 MainThread(我相信它是 UI 线程)中初始化 UI,如下图所示
但在 Metro 应用程序中,工作线程正在初始化 UI。为什么呢?在这种情况下是 Worker Thread 是 UI 线程吗?主线程可能不是 UI 线程是否正常?
“工作线程”是您的 UI 线程。
“主线程”只是按照惯例。它只是意味着创建的第一个线程,但从 Windows 的角度来看,所有线程都是等效的。
取自这里
我想在 LongListMultiSelector 中显示我的电话联系人。早些时候我使用列表框来显示电话联系人......我的实现就像:xaml
<ListBox Name="ContactResultsData" ItemsSource="{Binding}" Height="331" Margin="1