p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   C# (http://p2p.wrox.com/forumdisplay.php?f=22)
-   -   secondary thread (http://p2p.wrox.com/showthread.php?t=98890)

omosis2 May 19th, 2016 03:15 AM

secondary thread
 
What should I do for my wpf grid to receive and handle data although notifications arrive from a secondary thread.

lifeguru02 May 19th, 2016 02:02 PM

re: secondary thread
 
Quote:

Originally Posted by omosis2 (Post 307429)
What should I do for my wpf grid to receive and handle data although notifications arrive from a secondary thread.

I use dapfor wpf gridcontrol and when your row stay at the top and the bottom of your hierarchy, it is called docking of row.

C#
//Dock row to the bottom
grid.Rows[8].Dock = RowDockStyle.Bottom;

//Dock row to the top
grid.Rows[9].Dock = RowDockStyle.Top;

//Undock row
grid.Rows[0].Dock = RowDockStyle.None;


All times are GMT -4. The time now is 06:05 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.