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

transparent on DockTabStrip

1 Answer 111 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Sihol
Top achievements
Rank 2
Sihol asked on 01 Jul 2015, 03:37 AM
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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 03 Jul 2015, 01:29 PM
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
Tags
Dock
Asked by
Sihol
Top achievements
Rank 2
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or