This is a migrated thread and some comments may be shown as answers.

RadTabItem Header

1 Answer 70 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Niels
Top achievements
Rank 1
Niels asked on 20 Aug 2010, 11:25 AM
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

<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>

1 Answer, 1 is accepted

Sort by
0
Viktor Tsvetkov
Telerik team
answered on 24 Aug 2010, 02:47 PM
Hello Niels,

Could you please send me your sample project, so I will be able to better assist you?

All the best,
Viktor Tsvetkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TabControl
Asked by
Niels
Top achievements
Rank 1
Answers by
Viktor Tsvetkov
Telerik team
Share this question
or