In the last step, you created a Universal Windows project. In this step, you'll add a C1TabControl to the application.
Complete the following steps:
Markup Copy Code <c1:C1TabControl x:Name="tabControl" TabStripOverlapDirection="Left" TabStripOverlap="8" TabItemShape="Sloped" TabItemClose="InEachTab" TabStripPlacement="Bottom" TabStripMenuVisibility="Visible"> </c1:C1TabControl>
This markup adds a C1TabControl to the project. This sets the following properties:
You’ll also need to add C1TabItems within the C1TabControl.
Markup Copy Code <c1:C1TabItem Header="Notes" CanUserPin="True"> <RichEditBox HorizontalAlignment="Left" Height="680" VerticalAlignment="Top" Width="1330"/> </c1:C1TabItem> <c1:C1TabItem Header="Tasks"> <RichEditBox HorizontalAlignment="Left" Height="680" VerticalAlignment="Top" Width="1330"/> </c1:C1TabItem> <c1:C1TabItem Header="Reminders"> <RichEditBox HorizontalAlignment="Left" Height="680" VerticalAlignment="Top" Width="1330"/> </c1:C1TabItem> <c1:C1TabItem Header="Topics" CanUserPin="True"> <RichEditBox HorizontalAlignment="Left" Height="680" VerticalAlignment="Top" Width="1330"/> </c1:C1TabItem>
This adds C1TabItems, each containing a RichEditBox. Note that in two of the C1TabItems, CanUserPin is set to True allowing the tabs to be pinned at run time.
In this step, you added and customized the C1TabControl control. In the next step, you will run the program and observe what you've accomplished during this quick start.