RadTabItem Header

2 posts, 0 answers
  1. Niels
    Niels avatar
    3 posts
    Member since:
    Jul 2010

    Posted 20 Aug 2010 Link to this post

    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>
  2. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 24 Aug 2010 Link to this post

    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
  3. DevCraft banner
Back to Top