Hi,
We have one xaml file with TabControl and a seperate xaml file for each TabItem (see example below). We add the TabItems dynamically in code. This works fine for TabControl and TabItem: both the image and the text show in the header of each TabItem. When we switch to RadTabControl and RadTabItem, the first RadTabItem we add doesn't show its header: we don't see the image or the text. The second RadTabItem we add does show both the image and text as we were expecting. Could you look into this?
Regards,
Niels
We have one xaml file with TabControl and a seperate xaml file for each TabItem (see example below). We add the TabItems dynamically in code. This works fine for TabControl and TabItem: both the image and the text show in the header of each TabItem. When we switch to RadTabControl and RadTabItem, the first RadTabItem we add doesn't show its header: we don't see the image or the text. The second RadTabItem we add does show both the image and text as we were expecting. Could you look into this?
Regards,
Niels
<sdk:TabItem x:Class="Genetics.PowerWeb.Modules.Tree.DetailAdresView"
...
<sdk:TabItem.Header>
<StackPanel Orientation="Horizontal">
<Image Width="16"
Height="16"
Margin="0,0,2,0"
Source="/PowerWeb;component/Generated/Modules/Images/ADRESSEN.png" />
<TextBlock Text="Adressen" />
</StackPanel>
</sdk:TabItem.Header>