Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
290
Vertical align header text
posted

I have a XamTablControl with three TabItemEx. I have set the TabStripPlacement = "Left". I need to align the header text to be vertical. By default, it is horizontal.

Can you suggest how best to accomplish this

Parents
  • 34510
    Verified Answer
    Offline posted

    Hi CR,

    Probably the best way would be to use the HeaderTemplate on the TabItemEx and apply a LayoutTransform to rotate it.

    <igWindows:TabItemEx.HeaderTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding}">
                <TextBlock.LayoutTransform>
                    <RotateTransform Angle="-90"/>
                </TextBlock.LayoutTransform>
            </TextBlock>
        </DataTemplate>
    </igWindows:TabItemEx.HeaderTemplate>
     
Reply Children
No Data