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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to edit the document tab header via programmatically?

Platform: WPF |
Control: DockingManager |
Published Date: July 30, 2018 |
Last Revised Date: July 30, 2018 |
.NET Framework: 4

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#]






Figure: Editing the TabItem header.


Sample:  DocumentHeaderEditSample 


2X faster development

The ultimate WPF UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon 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.Close Icon

Live Chat Icon For mobile