Set content of TabControl

2 posts, 0 answers
    M STOLYAR avatar
    12 posts
    Member since:
    Dec 2010

    Posted 28 Jul 2011 Link to this post

    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?
  2. Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 01 Aug 2011 Link to this post

    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 />

    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 >>

Back to Top