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

RadDock and Telerik Themes

5 Answers 185 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Ramius
Top achievements
Rank 1
Ramius asked on 10 Nov 2009, 01:48 PM

Hello,

when i use one of the standard telerik themes aqua, breeze,  desert, office2007black, office2007silver, telerik or vista then not all of the elements of the raddock change the theme accordingly. Especially the scrollbar of a toolwindow or the tabstrip of the toolwindow is not changed. I have added some screenshots which show the issue.

Kind Regards,

Ramius

5 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 13 Nov 2009, 08:15 AM
Hi Udo,

Thank you for contacting us.

Currently defined for RadDock are the following themes:
- Office 2007  Blue, Silver and Black
- Desert

Since Q3 2009 we have improved the logic which serializes a BackColor value at design-time. It should now be persisted only if explicitly set by the user. Till now however the BackColor was altered directly by the applied theme and was locally persisted by the designer and this was breaking the default Windows Forms BackColor inheritance. In order to fix the problem you may need to manually go through all *Designer.cs files and remove any BackColor serialized for RadDock components - DocumentContainer, ToolTabStrip, etc. This will ensure that when you change a theme, all nested controls will inherit it from their parent.

Regarding the scrollbars - DockWindow actually uses the default .NET ContainerControl and scrollbars are what comes from the system. What you may do is utilize our new for Q3 control - RadScrollablePanel - and use it as a content for your dock windows.

I hope this helps. Do not hesitate to contact us if you have other questions.


Regards,
Georgi
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Ramius
Top achievements
Rank 1
answered on 13 Nov 2009, 05:16 PM

Hi Georgi,

thank you for your help. 

Your hint with the BackColor helped me to solve the iussue.

Regarding the scrollbars i found out that i misinterpreted my screenshot. It is not a scrollbar of a DockWindow but of a RadTextBox.

Is it possible to use the RadTextBox with the RadScrollBar ?

Kind Regards,

Ramius

0
Georgi
Telerik team
answered on 18 Nov 2009, 04:45 PM
Hi Udo,

Unfortunately RadTextBox internally hosts the standard Windows Forms TextBox control and hence it does not come with our scrollbars. In fact it is extremely hard to customize the basic .NET scrollbars as they are part of the non-client area and are painted outside the window procedure and the WM_NCPAINT message.

We will consider this feature and check whether we will be able to implement it for our future releases.

Thank you for your feedback, do not hesitate to contact us if you have other questions.


Kind regards,
Georgi
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Ramius
Top achievements
Rank 1
answered on 20 Nov 2009, 08:45 AM

Hi Georgi,

thank you for your answer.

I understand that it is very complicated to do, but on a longer view it would be great, if all the winform controls would use the RadScrollBar.

Kind Regards,

Ramius

0
Georgi
Telerik team
answered on 24 Nov 2009, 10:57 AM
Hi Udo,

Thank you for your feedback.

I completely agree with you and we will evaluate the effort needed to replace all standard scrollbars with our custom implementation.


Best wishes,
Georgi
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Dock
Asked by
Ramius
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Ramius
Top achievements
Rank 1
Share this question
or