TabStripPlacement Bottom

2 posts, 0 answers
  1. Bradley
    Bradley avatar
    16 posts
    Member since:
    Aug 2010

    Posted 15 Feb 2012 Link to this post

    What I want to achieve is my tab strip being placed at the bottom, but with the next not rotated 180 degrees.

    I set it to the bottom in my XAML like this


    and I have this code in my style

    <Trigger Property="TabStripPlacement" Value="Bottom">
                    <Setter Property="telerik:RadDockPanel.Dock" Value="Bottom"
                            TargetName="HeaderDockedElement" />
                    <Setter Property="LayoutTransform" TargetName="HeaderDockedElement">
                            <RotateTransform Angle="180" />
                    <Setter Property="BorderThickness" Value="1 1 1 0" />

    Which is the code that rotates the text 180 degrees.  If I take that line out, the header completely disappears.  If I change it to something as small as Angle="10" it'll show up as rotated 10 degrees.  If I change Angle="0" it's gone again.  I've tried doing a TranslateTransform on the Y axis to see if maybe it was just being drawn off the screen and I could get it to at least show back up somewhere, but that didn't work either.  Any advice?
  2. Petar Mladenov
    Petar Mladenov avatar
    3154 posts

    Posted 20 Feb 2012 Link to this post

    Hello Bradley ,

     Can you confirm that you are indicating a design issue? We used to have some issues in Q3 2011, for example when you set "Bottom" TabStripPlacement, in the designer (or in Blend) the TabStrip is not shown correctly , like it will be shown run-time ? Do you have similar issues?
    If yes, we can assure you that this is fixed in Q1 2012, you can check this out in the attached project.
    Please note , that in Q1 2012, the WPF Triggers in our Styles are replaced with VisualStates.
    Let us know if this helped you or not.

    All the best,
    Petar Mladenov
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top