tabcontrol datatemplate and headertemplate

2 posts, 0 answers
  1. Patrick
    Patrick avatar
    1 posts
    Member since:
    Dec 2002

    Posted 17 Nov 2010 Link to this post

    how can I change the header template of the radtabcontrol ? I use a datatemplate but i don't know how to change the layout of the tabs itself. The demo on the site is on the tabitems but I am using binding




    <telerik:RadTabControl Grid.Row="0" VerticalAlignment="Stretch" Height="Auto"












    ItemsSource="{Binding Source={StaticResource TelerikRadTabDataSource},Path=Groups}"








    Grid.RowSpan="2" Name="RadTabControl1" >





    telerik:RadTabControl.ContentTemplate >





    <DataTemplate >









    Template="{StaticResource ControlTemplateKey}"




    ItemsPanel="{StaticResource ItemsPanelKey}"




    ItemTemplate="{StaticResource ItemTemplateKey}" ItemsSource="{Binding PushPins}">






















  2. Petar Mladenov
    Petar Mladenov avatar
    2883 posts

    Posted 22 Nov 2010 Link to this post

    Hello wimdevriendt,

    I noticed that you're using the DisplayMemberPath property to define the TabItem's headers. However, if you need to further customize the RadTabItem header, you can use the ItemTemplate and the ItemTemplateSelector properties of the RadTabControl(read more).

    Please feel free to ask if you need further assistance.

    All the best,
    Petar Mladenov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft banner
Back to Top