The DockingTab control enables you to edit the text appearing on the tab by simply double-clicking it at runtime. Further, with the added keyboard support, you can also edit the text appearing on the selected tab by pressing the F2 key.
For this purpose, C1DockingTab class provides the CanRenameTabs property. This can be set through the Properties window, or by using the code snippet in the code editor as given below:
C# |
Copy Code
|
---|---|
// Allow users to rename tab at runtime dockingTab.CanRenameTabs = true; |