I am in the process of evaluating Telerik controls for WPF. I started by added a RadTabControl
to my main window (window1). I then set up 3 RadTabItems by using the collection editor
under the Items property of the RadTabControl. Dragging other controls from the toolbox
over to specific RadTabItems doesn't appear to work. I manually went into the XAML code
and inserted a calendar control on RadTabItem(2), and it shows up when running the
program, it does not show when in design mode however. I'm further confused by how
you would go about adding multiple controls to a RadTabItem. I am currently using
Visual Studio 2008 Version 9.0.21022.8 .Net Framework 3.5. Here is my current
XAML code. I'm wondering if someone could give me some pointers on what I'm
doing wrong ?
<
Window
x:Class
=
"Window1"
Title
=
"Window1"
Height
=
"300"
Width
=
"708"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
>
<
Grid
>
<
telerik:RadTabControl
Margin
=
"39,51,94,45"
Name
=
"RadTabControl1"
TabOrientation
=
"Vertical"
TabStripPlacement
=
"Left"
>
<
telerik:RadTabItem
AllowDrop
=
"True"
Header
=
"Tab1"
Name
=
"RTI1"
></
telerik:RadTabItem
>
<
telerik:RadTabItem
AllowDrop
=
"True"
Header
=
"Tab2"
Name
=
"RTI2"
>
<
telerik:RadCalendar
Name
=
"RadCalendar1"
HorizontalAlignment
=
"Left"
Width
=
"121"
ClipToBounds
=
"True"
telerik:StyleManager.Theme
=
"Metro"
></
telerik:RadCalendar
>
</
telerik:RadTabItem
>
<
telerik:RadTabItem
AllowDrop
=
"True"
Header
=
"Tab3"
Name
=
"RTI3"
></
telerik:RadTabItem
>
</
telerik:RadTabControl
>
</
Grid
>
</
Window
>