How to show the Header when I set TabStripPlacement on Top

3 posts, 0 answers
  1. Ramy
    Ramy avatar
    2 posts
    Member since:
    Nov 2013

    Posted 04 Nov 2013 Link to this post

    I tried to modify the template of RadPaneGroup in Blend in order to implement the outlook as the attach file, the TabStripPlacemenrt is set to Top, at the same time I want the header visible, but default when I set the TabStripPlacement on Top the Header is invisible. Can anyone help me with this problem to implement the outlook as the attachment.
  2. Masha
    Admin
    Masha avatar
    355 posts

    Posted 07 Nov 2013 Link to this post

    Hello Ramy,

    The header is intentionally removed from the template when pane position is set to top.  You can easily show it like adding the code snipped below to the RadPaneGroup top control template:
    <Border Grid.Row="0" Visibility="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=SelectedItem.PaneHeaderVisibility}">
                <dock:PaneHeader x:Name="HeaderElement" Grid.Row="0" MinHeight="16" SelectedPane="{TemplateBinding SelectedPane}" />
    </Border>

    I hope it helps.

    Regards,
    Masha
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Ramy
    Ramy avatar
    2 posts
    Member since:
    Nov 2013

    Posted 07 Nov 2013 Link to this post

    Thanks for your kindly help of this. I will have a try. Thanks a lot!
Back to Top