In this step you'll create a WPF application in Visual Studio using DockControl for WPF.
To set up your project and add a C1DockControl control to your application, complete the following steps:
WPF XAML |
Copy Code
|
---|---|
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480"> <Grid x:Name="LayoutRoot"> <c1:C1DockControl></c1:C1DockControl> </Grid> </Window> |
In the next step, you will add a C1DockTabControl with C1DockTabItem.