# Step 4: Running the Project

## Content



In the previous steps, you created a project with a **C1TabControl** control, added tab pages to the control, and modified the control's appearance and behaviors. In this step, you will run the program and observe all of the changes you made to the **C1TabControl** control.

Complete the following steps:

1.  Press F5 to run the project. Observe that the **C1TabControl**'s tabstrip runs along the bottom of the control and features sloped tabs. Also note that it loads with the first tab page, which features a **Calendar** control as content, in view.

![](https://cdn.mescius.io/document-site-files/images/fd13627f-3e59-47ec-89e2-86c13c4f9d2c/images/tabcontrol/qsrunning1.png)

2.  Click **Tab 2** and observe that the content is just the **Content** property set to a string.

![](https://cdn.mescius.io/document-site-files/images/fd13627f-3e59-47ec-89e2-86c13c4f9d2c/images/tabcontrol/qsrunning2.png)

3.  Click the drop-down button to open the tab menu and select **Tab 1**.

![](https://cdn.mescius.io/document-site-files/images/fd13627f-3e59-47ec-89e2-86c13c4f9d2c/images/tabcontrol/qsrunning3.png)

**Tab 1** takes focus again.

4.  Click **Tab 1's** close button to close the tab.
5.  Click **Tab 2's** close button to close the tab. **Tab 3's** content comes into focus; you can't close this tab because you set its **CanUserClose** property to False in a previous step.
6.  Click the menu button and note that only the current tab page, **Tab 3**, is listed because the other two are closed.

![](https://cdn.mescius.io/document-site-files/images/fd13627f-3e59-47ec-89e2-86c13c4f9d2c/images/tabcontrol/qsrunning4.png)

You have completed all four steps of the **TabControl for WPF** quick start. In this quick start, you created a project with a fully customized **C1TabControl**.