RadDock transparency

2 posts, 0 answers
  1. Martin
    Martin avatar
    35 posts
    Member since:
    Jun 2014

    Posted 21 Oct Link to this post

    Hi,

    I had a radRibbonForm as my main form in my application.

    This form had background image which is set from local resources at run-time.

    Is it possible to place a radDock control and make it fully transparent - so even if it's dock style is set to 'fill' the image on the background of the ribbon form will be seen?

    I've tried adding an image (png) to the splitpanel but it does not centre or stretch:

    radDock1.MainDocumentContainer.SplitPanelElement.Children.Add(imagePrimitive);

    So, it would seem to be 'easier' for the dock control to be fully transparent.

     

    Thanks folks.

     

     

     

  2. Hristo Merdjanov
    Admin
    Hristo Merdjanov avatar
    711 posts

    Posted 21 Oct Link to this post

    Hi Martin,

    Thank you for writing.

    RadDock is a complex control and many of its items are recreated at run-time after a dock operation. The best way to achieve your task is using our Visual Style Builder tool and modifying the theme you are using: Custom Themes.

    I have prepared a custom control default theme setting a transparent BackColor to most of the elements. Please note that it might not handle all possible cases. I have also attached a screenshot showing the result on my end.

    You can also check the following forum threads discussing a similar scenario:
    I hope this helps. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo Merdjanov
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post and share your thoughts.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top