We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to edit the document tab header via programmatically?

At present there is no direct option to edit the tab header programmatically. But we can edit the header via programmatically by invoke the internal method “LabelEditStartInternal” of TabLayoutPanel. We are getting and invoke the same using reflection with corresponding tab item as argument to edit. The following code demonstrates the same.

 

Code Example: [Xaml]

 

 

Code Example: [C#]

 

 

Screenshot

 

t

Figure: Editing the TabItem header.

 

Sample:  DocumentHeaderEditSample 

 

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework:
9062 07/30/2018 07/30/2018 WPF DockingManager 4
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.