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

How to change tab strip placement in ToolWindow

1 Answer 41 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 29 Jun 2012, 04:32 PM
What is the correct way to change tab strip placement in ToolWindow?  And how to add icon on ToolWindow?
Thanks.

1 Answer, 1 is accepted

Sort by
0
Masha
Telerik team
answered on 04 Jul 2012, 02:56 PM
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,
Maria
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Docking
Asked by
Chris
Top achievements
Rank 1
Answers by
Masha
Telerik team
Share this question
or