# Rename Tabs

Learn how to rename docking tab titles.

## Content

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.

![Application UI showing renaming capability in one of the tab pages](https://cdn.mescius.io/document-site-files/images/1086a5ae-7197-4f26-942b-edb381682c69/images/text-editing.png)

For this purpose, **C1DockingTab** class provides the [CanRenameTabs](/componentone/docs/win/online-command5/) property. This can be set through the Properties window, or by using the code snippet in the code editor as given below:

```csharp
// Allow users to rename tab at runtime
dockingTab.CanRenameTabs = true;
```

With built-in keyboard support, DockingTab lets you perform the basic navigation operations such as moving the focus and renaming the tab. Below tables list the supported keys and their corresponding operations.

| Arrow | The **Left** and **Right** arrow keys help to move the focus towards left and right tabs. |
| ----- | --------------------------------------------------------------------------------- |
| F2 | The **F2** key press helps to rename each tab, if the **CanRenameTabs** property is set to True. |
