Adding a Tab to the C1TabControl Control

In this topic, you will add tabs to the C1TabControl control in Design view, in XAML, and in code.

In Design View in Blend

Complete the following steps:

1.   Click the C1TabControl control once to select it.

2.   In the Toolbox, double-click the C1TabItem icon to add a tab item to the C1TabControl control.

A C1TabItem appears within the C1TabControl control.

In XAML

To add a tab to the C1TabControl control, place the following markup between the <c1:C1TabControl> and </c1:C1TabControl> tags:

 

<c1:C1TabItem Content="c1TabItem">

</c1ext:C1TabItem>

In Code

Complete the following steps:

1.   Open the Window1.xaml.cs page.

2.   Import  the following namespace:

      Visual Basic

      C#

3.   Add the following code beneath the InitializeComponent() method:

      Visual Basic

      C#

4.   Run the program.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.