Move Tabs

2 posts, 0 answers
  1. Hamed
    Hamed avatar
    4 posts
    Member since:
    Aug 2013

    Posted 14 Jul 2014 Link to this post

    Hi there,

    How can i move tabs like what I'm showing in attached image?
  2. Martin
    Martin avatar
    1042 posts

    Posted 15 Jul 2014 Link to this post

    Hi Hamed,

    I am not sure that I completely understand your scenario, but I guess you want to display the items at the top part of the tab control, instead of the bottom. If so, you can slightly edit the ControlTemplate of the RadTabControl. In general you can find the ItemsPresenter placed in the ScrollViewer with x:Name set to "ScrollViewerElement" and set its HorizontalAlignment property to Right.
    <ScrollViewer x:Name="ScrollViewerElement" BorderThickness="0" HorizontalScrollBarVisibility="{Binding (ScrollViewer.HorizontalScrollBarVisibility), RelativeSource={RelativeSource TemplatedParent}}" IsTabStop="False" Margin="2,4,2,0" VerticalScrollBarVisibility="Disabled">
        <ItemsPresenter HorizontalAlignment="Right"/>

    Please let me know if this is what you are looking for. Otherwise can you please elaborate more an your scenario by giving me more details for your requirement. Thank you for any help you can provide.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  3. DevCraft R3 2016 release webinar banner
Back to Top