測量控制項Binding時間
var sw = new Stopwatch();
sw.Start();
//Set value and raise property changed
Dispatcher.CurrentDispatcher.BeginInvoke(
DispatcherPriority.Loaded,
new Action(() =>
{
sw.Stop();
MessageBox.Show("Took " + sw.ElapsedMilliseconds + " ms");
}));
有任何改進的意見及問題歡迎傳送到電子郵件
電子郵件:momo16542@gmail.com