We can reduce the space between TabItem header and the content of the TabItem by customizing the margin value of the ContentPresenter(“PART_SelectedContentHost”) in which we have placed the actual content of TabItem. The following code example demonstrate the same,
The following screenshot shows the default layout of the Document window,
The following screenshot shows the output of the above code,
This page will automatically be redirected to the sign-in page in 10 seconds.