View Single Post
  #2 (permalink)  
Old May 19th, 2016, 02:02 PM
lifeguru02 lifeguru02 is offline
Registered User
Points: 17, Level: 1
Points: 17, Level: 1 Points: 17, Level: 1 Points: 17, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2016
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default re: secondary thread

Quote:
Originally Posted by omosis2 View Post
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.Dock = RowDockStyle.Bottom;

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

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