Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxDockControl.AllowDocking Property

Specifies whether toolbars can be docked to this dock control.

#Declaration

Delphi
property AllowDocking: Boolean read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

Set the AllowDocking property to False to prevent toolbars from being docked to the TdxBarDockControl temporarily. Set the property back to True to enable docking. This allows you to customize the docking facilities at runtime.

Note that the AllowDocking property cannot be used to customize default dock controls created by the bar manager. This means, you cannot use this property to specify whether toolbars can be docked to the left, top, right and bottom form’s edges. For these purposes, you should use the bar manager’s NotDocking property. You can also use a particular bar’s NotDocking property to customize the docking behavior of an individual toolbar.

See Also