TdxDockControl.AllowDocking Property
Specifies whether toolbars can be docked to this dock control.
Declaration
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