transparent on DockTabStrip

2 posts, 1 answers
  1. Christianto
    Christianto avatar
    1 posts
    Member since:
    Oct 2013

    Posted 30 Jun 2015 Link to this post

    how can i get transparent color on dockstrip? i change back color on RadPageViewContentAreaElement to transparent and switch gradient style to solid but nothing happen.
  2. Answer
    Dess
    Admin
    Dess avatar
    1607 posts

    Posted 03 Jul 2015 Link to this post

    Hello Christianto,

    Thank you for writing.

    After carefully looking at the attached screenshot, it seems that you want to change the background of the ToolWindow popup. Note that when you show an auto-hidden ToolWindow, RadDock displays a RadForm. You can apply the same BackColor as the main form because the controls transparency is a common problem in the whole WinForms. You can find useful information on this topic on the following links:
    Here is a sample code snippet which achieves the result illustrated on the sample screenshot:
    AddHandler Me.RadDock1.AutoHideWindowDisplayed, AddressOf AutoHideWindowDisplayed
    Private Sub AutoHideWindowDisplayed(sender As Object, e As DockWindowEventArgs)
        Dim hw As HostWindow = TryCast(e.DockWindow, HostWindow)
        Dim popup As AutoHidePopup = TryCast(hw.ParentForm, AutoHidePopup)
        popup.ToolStrip.BackColor = Me.BackColor
    End Sub

    I hope this information helps. Should you have further questions, I would be glad to help.
     
    Regards,
    Dess
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top