If there is no record available, I want to add a TextBlock on data grid, below the header, showing the message \"No Record Found.\"
TextBlock
Consider the attac
I find that it is easy to center a text block over the grid and set its visibility based on the number of rows. I am usually using MVVM and will bind the visibility to a View Model property:
. . .