If there is no record available, I want to add a TextBlock on data grid, below the header, showing the message \"No Record Found.\"
Consider the attac
Finally I am able to findout the way.
Create a RowDetailTemplate which contain a text block with a message "No Record Found"
Set the style on datagrid
By default (record available on datagrid) row detail template will be collapsed.
DataTrigger that checks CLR poperty, if it is false then show the row detail template.
The reason for setting the rowheight as 0 to hide the default row which we haved added on 1st step.