Imports Infragistics.Win.UltraWinDock ... Private Sub btnCheck_Click(ByVal sender As Object, _ ByVal e As System.EventArgs) Handles btnCheck.Click 'Checked to see if the pane holding the control is docked If Me.UltraDockManager1.PaneFromControl(Me.UltraDayView1).DockedState = _ DockedState.Docked Then ' If it is docked make it a floating pane Me.UltraDockManager1.PaneFromControl(Me.UltraDayView1).Float(True) End If End Sub