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

Moving the close button to the tab header.

5 Answers 116 Views
Docking
This is a migrated thread and some comments may be shown as answers.
James Ludlow
Top achievements
Rank 1
James Ludlow asked on 21 Jul 2010, 12:53 PM
So instead of having a one close button at the far right of the tab strip, you'd then have a close button on each tab header (like the tabstrip on Google Chrome).

Possible?

5 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 23 Jul 2010, 12:00 PM
Hello James,

Thank you for contacting us.

You can achieve that by applying a custom theme to the Docking control.
Please find the attached file in which this is illustrated. Please mind for the "NOTE:" comments which will guide you through the changes made.

If you have further questions please feel free to contact us again.

Best wishes,
Konstantina
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
0
James Ludlow
Top achievements
Rank 1
answered on 23 Jul 2010, 01:48 PM
That's fantastic and I'm sure it is exactly what I'd like, but unfortunately when I try to open the solution I get a message saying that it was created in a newer version of VS. I'm currently using VS2008, is there any chance you could save it in a format compatible with VS2008 please?

Thanks in advance.
0
Konstantina
Telerik team
answered on 26 Jul 2010, 12:51 PM
Hi James,

Thank you for your response.

Yes, the project is build for VS2010.
Please find attached the solution for VS 2008.

Hope it helps. If you need further assistance please let us know.

Best wishes,
Konstantina
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
0
James Ludlow
Top achievements
Rank 1
answered on 30 Jul 2010, 02:22 PM
Sorry to be a pain, but I'm still having trouble incorporating this into my application. One trouble is that I believe the solution you provided is a Silverlight solution, where as my application is WPF.

The other problem I'm having is I'm trying to twist the theme you've provided into a control template, purely because all the theming as such will be done with another resource dictionary. Is this possible?
0
Dani
Telerik team
answered on 05 Aug 2010, 08:08 AM
Hi James Ludlow,

Thank you for submiting your concerns on RadDocking.

The application sent is a WPF application, you will notice that is opens up in a Window and not in the browser. 

If you would like to use the theme which we sent together with another resource dictionary, the way to go is to take your custom theme in a separate Class Library project. The Class should  inherit the Telerik Theme class. You can merge both resource dictionaries in a separate file using MergedResourceDictionaries and use that file as Source for your custom theme class.

Please let me know if you have any difficulties creating your custom theme as a separate project. We are ready to assist you.


Best wishes,
Dani
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
Tags
Docking
Asked by
James Ludlow
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
James Ludlow
Top achievements
Rank 1
Dani
Telerik team
Share this question
or