Sometimes its needed to make DotNetBar for Winforms floating dock windows translucent, i.e. change their opacity so they are see-through. That is easily done by handling DotNetBarManager.BarUndock event and appropriate code as follows:

C#:

private void dotNetBarManager1_BarUndock(object sender, EventArgs e)
{
    Bar bar = (Bar)sender;
    if (bar.LayoutType == eLayoutType.DockContainer)
    {
        Form form = bar.FindForm();
        if (form != null)
        {
            form.Activated += FloatingDockActivated;
            form.Deactivate += FloatingDockDeactivate;
            form.Disposed += FloatingDockDisposed;
        }
    }
}
 
void FloatingDockDisposed(object sender, EventArgs e)
{
    Form form = (Form)sender;
    form.Activated -= FloatingDockActivated;
    form.Deactivate -= FloatingDockDeactivate;
    form.Disposed -= FloatingDockDisposed;
}
 
void FloatingDockDeactivate(object sender, EventArgs e)
{
    Form form = (Form)sender;
    form.Opacity = .5f;
}
 
void FloatingDockActivated(object sender, EventArgs e)
{
    Form form = (Form)sender;
    form.Opacity = 1f;
}

VB:

 
Private Sub dotNetBarManager1_BarUndock(sender As Object, e As EventArgs) Handles dotNetBarManager1.BarUndock
	Dim bar As Bar = DirectCast(sender, Bar)
	If bar.LayoutType = eLayoutType.DockContainer Then
		Dim form As Form = bar.FindForm()
		If form IsNot Nothing Then
			AddHandler form.Activated, AddressOf FloatingDockActivated
			AddHandler form.Deactivate, AddressOf FloatingDockDeactivate
			AddHandler form.Disposed, AddressOf FloatingDockDisposed
		End If
	End If
End Sub
 
Private Sub FloatingDockDisposed(sender As Object, e As EventArgs)
	Dim form As Form = DirectCast(sender, Form)
	RemoveHandler form.Activated, AddressOf FloatingDockActivated
	RemoveHandler form.Deactivate, AddressOf FloatingDockDeactivate
	RemoveHandler form.Disposed, AddressOf FloatingDockDisposed
End Sub
 
Private Sub FloatingDockDeactivate(sender As Object, e As EventArgs)
	Dim form As Form = DirectCast(sender, Form)
	form.Opacity = 0.5F
End Sub
 
Private Sub FloatingDockActivated(sender As Object, e As EventArgs)
	Dim form As Form = DirectCast(sender, Form)
	form.Opacity = 1F
End Sub