To update the TabItemcollection when any one of its TabItemExt gets closed, set the CloseMode Property of TabControlExt to “Delete”.
The CloseMode is an enum that includes values as Hide and Delete that resides in the TabControlExt. When you click on the TabItemExt CloseButton and when the CloseMode is set to be Hidden, then the TabItemExt moves to the Hidden state. When the CloseMode is set to ‘Delete’, then the TabItemExt is removed from the TabControlExt, and it automatically gets deleted from the TabItems Collection.
You can achieve the above using the following code example.
The following is the Code Behind code example.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:||.NET Framework:||Product Version:|
or the page will be automatically redirected to sign-in page in 10 seconds.