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

TabStripPlacement Bottom

1 Answer 130 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Bradley
Top achievements
Rank 1
Bradley asked on 15 Feb 2012, 04:23 PM
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

TabStripPlacement="Bottom" 

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">
                    <Setter.Value>
                        <RotateTransform Angle="180" />
                    </Setter.Value>
                </Setter>
                <Setter Property="BorderThickness" Value="1 1 1 0" />
            </Trigger>

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?

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 20 Feb 2012, 03:15 PM
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 >>
Tags
TabControl
Asked by
Bradley
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or