Display image and text on Panel bar header

2 posts, 0 answers
  1. Naveen T
    Naveen T avatar
    30 posts
    Member since:
    Jun 2012

    Posted 30 Mar 2010 Link to this post


    I have added the below code for displaying Image and text in rad pane .Header controls are displaying good when hide but not displaying controls when the panel bar is docked instead its displaying System.Windows .Controls.StackPanel on it.








    telerikDocking:RadSplitContainer Orientation="Vertical" InitialPosition="DockedRight" MaxWidth="500">









    <telerikDocking:RadPaneGroup telerikDocking:ProportionalStackPanel.RelativeSize="100, 200" >













    <telerikDocking:RadPane x:Name="GraphsH" CanUserClose="False" Margin="10" CanDockInDocumentHost="False" >


















    <StackPanel Orientation="Horizontal">









    <Image Source="Panel Images/ico_graph.png"></Image>











    <TextBlock Text="Graphs"></TextBlock>






















































  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 31 Mar 2010 Link to this post

    Hi Nav,

    Thank you for contacting us.

    The header of the Pane is a String. So the StackPanel to show properly in the header you will have to also set the TitleTemplate.
    Attached is a sample project which illustrates that.

    If you need further assistance please do not hesitate to contact us again.

    Best regards,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top