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

Set content of TabControl

1 Answer 55 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
M STOLYAR
Top achievements
Rank 1
M STOLYAR asked on 28 Jul 2011, 11:16 AM
How to set some content (i.e. TextBlock) for RadTabControl when RadTabControl has no tabs?

Edit: It looks like I trying to find some non-existing Content property. RadTabControl not obliged to show some own content, not belonging to its items.
But how can be implemented what shown in the attached image?
Is there some property that allows to set content with greeting text?
Or it can be achieved by editing control template?

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 01 Aug 2011, 09:16 AM
Hi M Stolyar,

Couple of approaches come to my mind with regard to your scenario. The first one, which you have correctly assumed, is to edit the ControlTemplate of RadTabControl. The second one is to put a ContentControl on top of the RadTabControl and hide it when necessary.

<Grid x:Name="LayoutRoot" Background="White">
    <telerik:RadTabControl />
    <ContentControl />
</Grid>

Let me know which approach is more appropriate for you.

Kind regards,
Kiril Stanoev
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
TabControl
Asked by
M STOLYAR
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or