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

RadTabControl headers show in design but not when running

1 Answer 183 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 15 Mar 2018, 02:33 PM

Can you see any reason why the headers on my RadTabControl show in design view but when I run the app they do not show?  I attached a screenshot to show what it looks like.

<Grid Background="LightGray">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="10"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="10"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="1" Grid.Column="1">
            <telerik:RadTabControl Height="400" >
                <telerik:RadTabControl.Items>
                    <telerik:RadTabItem Header="Generate Scripts" Foreground="white">
                        <telerik:RadTabItem.Content>
                            <Border Background="Bisque">
                                <TextBlock Text="The content of tab item 1" FontWeight="Bold" VerticalAlignment="Center" TextAlignment="Center" Foreground="Black"/>
                            </Border>
                        </telerik:RadTabItem.Content>
                    </telerik:RadTabItem>
                   
                    <telerik:RadTabItem Header="Admin" Foreground="white"/>
                    <telerik:RadTabItem Header="Users" Foreground="white"/>
                    <telerik:RadTabItem Header="Program / Hulls" Foreground="white"/>
                </telerik:RadTabControl.Items>
            </telerik:RadTabControl>        
        </StackPanel>
    </Grid>

1 Answer, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 19 Mar 2018, 03:27 PM
Hello,

I did not manage to reproduce the reported issue locally. Please check the attached project. In order to find the reason behind it I will need some more details about your setup:

- Your Telerik binaries' version
- The Visual Studio version
- Do you use XAML or NoXAML binaries?
- How do you set the theme?
- Does the issue occur in isolated project or only in your main application?

Generally the reported issue seems strange to me and I do not remember such reports before.

Regards,
Sia
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
TabControl
Asked by
Richard
Top achievements
Rank 1
Answers by
Sia
Telerik team
Share this question
or