RadDock and Telerik Themes

6 posts, 0 answers
  1. Ramius
    Ramius avatar
    127 posts
    Member since:
    Feb 2008

    Posted 10 Nov 2009 Link to this post

    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

  2. Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 13 Nov 2009 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ramius
    Ramius avatar
    127 posts
    Member since:
    Feb 2008

    Posted 13 Nov 2009 Link to this post

    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

  5. Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 18 Nov 2009 Link to this post

    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.
  6. Ramius
    Ramius avatar
    127 posts
    Member since:
    Feb 2008

    Posted 20 Nov 2009 Link to this post

    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

  7. Georgi
    Admin
    Georgi avatar
    296 posts

    Posted 24 Nov 2009 Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready