TabControl in the Window Header

2 posts, 0 answers
  1. Michael
    Michael avatar
    1 posts
    Member since:
    Apr 2016

    Posted 17 Oct Link to this post

    I would like to create a Google Chrome like application with tabs positioned in the application header.

    Does the RadWindow provide any Features to achieve this?

    It's pretty easy to position it right, but the tabs become unclickable this way:

    <Grid Margin="0,-23,0,0" >
        <telerik:RadTabControl HeaderBackground="{x:Null}" x:Name="radTabControl" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.ColumnSpan="2">
            <telerik:RadTabItem x:Name="RadTabItem" Header="RadTabItem" Height="24" Width="100">
                <Grid Background="Transparent"/>
            </telerik:RadTabItem>
        </telerik:RadTabControl>
    </Grid>
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 19 Oct Link to this post

    Hello Michael,

    Try setting the telerikNavigation:WindowHost.HitTestable attached property to True to TabControl:

    telerikNavigation:WindowHost.HitTestable="True"

    And the namespace is:
    xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"

    This way you would be able to click on the TabControl, however you won't be able to move the Window by dragging the TabControl.

    Hope this helps.

    Regards,
    Kalin
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top