New to Telerik UI for WinForms? Start a free 30-day trial

AllowedDockStates

Updated on Nov 3, 2026

AllowedDockState property gives you the ability to determine the available dock states per ToolWindow. There are several options for this properties which can be combined by bitwise operations. For example:

Allow two states only.

C#
toolWindow1.AllowedDockState = AllowedDockState.Docked | AllowedDockState.Floating;

This automatically will remove the caption buttons that may be responsible for an unwanted state, for example Closed. In addition, the unwanted menu items from the context menu will be disabled:

WinForms RadDock AllowedDockStates

The following setting will disable the Floating option:

Disable the floating dock state

C#
toolWindow1.AllowedDockState = ~AllowedDockState.Floating; 

WinForms RadDock Disable the Floating Dock State

See Also