How to change tab strip placement in ToolWindow

2 posts, 0 answers
  1. Chris
    Chris avatar
    23 posts
    Member since:
    May 2011

    Posted 29 Jun 2012 Link to this post

    What is the correct way to change tab strip placement in ToolWindow?  And how to add icon on ToolWindow?
  2. Masha
    Masha avatar
    355 posts

    Posted 04 Jul 2012 Link to this post

    Hello Chris,

    To customize the ToolWindow header and add an icon, you will need to modify the ToolWindowStyle. You can take it from your local RadControls installation folder, then Themes.Implicit directory and use Telerik.Windows.Controls.Docking file.
    Next, place your image inside the Border with x:Name="HeaderElement". For example: 
    <Image Source="YourIconNameSource.png" Width="16" Height="16" SnapsToDevicePixels="True" />

    To change the TabStripPlacement in ToolWindow you should find the RadPaneGroupStyle.
     There you can change:
    <Setter Property="TabStripPlacement" Value="Bottom" />
    and set the position of your choice.

    Please, note that changing this property value, will affect of all RadPaneGroup TabStripPlacements in RadDocking  control.

    Hope this helps!

    Kind regards,
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Back to Top